- create a [kaggle api token](https://www.kaggle.com/khalido/account)
- this will d/l a kaggle.json file, save it a `~/.kaggle/kaggle.json` to use the API.
- to save to a remote server, just mount and copy paste
- install `pip install kaggle`
- set data directory outside of a git repo: `kaggle config path -p ~/data`
- look at https://github.com/Kaggle/kaggle-api for examples
- to download a competion: `kaggle competitions download -c favorita-grocery-sales-forecasting`
- make sure you have accepted the competition rules on the website first
## submit your competition entry:
```
kaggle competitions submit -c digit-recognizer -f submission.csv -m "first kaggle submission ever"
```