markdown kaggle api

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown kaggle api相关的知识,希望对你有一定的参考价值。

- 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"
```

以上是关于markdown kaggle api的主要内容,如果未能解决你的问题,请参考以下文章

markdown kaggle关连

通过其API访问kaggle数据集

使用kaggle内提供的Api下载数据

* python中Kaggle API *的文档?

如何获取 kaggle 用户的用户名和API密钥(key)

如何获取 kaggle 用户的用户名和API密钥(key)