{
  "id": 249195,
  "title": "Cant download the dataset using the kaggle API.",
  "url": "/competitions/digit-recognizer/discussion/249195",
  "author_name": "Pranav U",
  "post_date": "2021-06-27T06:17:02.329000",
  "votes": 0,
  "comment_count": 3,
  "views": null,
  "content": "<p>I downloaded and added kaggle to my operating system. I typed the command: \"kaggle competitions download -c digit-recognizer\" to download the dataset but it returns 403 Forbidden</p>",
  "messages": [
    {
      "id": 1501797,
      "postDate": "2021-09-03T14:47:02.890Z",
      "content": "<p>Nice Work Done here.</p>",
      "rawMarkdown": "Nice Work Done here."
    },
    {
      "id": 1486854,
      "postDate": "2021-08-23T08:55:43.120Z",
      "content": "<p>Hi, please take a look to the documentation <a href=\"https://github.com/Kaggle/kaggle-api\" target=\"_blank\">https://github.com/Kaggle/kaggle-api</a>, may be this clarify better than me. <br>\nI think that you need to download the .json with credentials and place in the kaggle folders. </p>\n<p><em>To use the Kaggle API, sign up for a Kaggle account at <a href=\"https://www.kaggle.com\" target=\"_blank\">https://www.kaggle.com</a>. Then go to the 'Account' tab of your user profile (https://www.kaggle.com//account) and select 'Create API Token'. This will trigger the download of kaggle.json, a file containing your API credentials.</em>* Place this file in the location** ~/.kaggle/kaggle.json (on Windows in the location C:\\Users\\.kaggle\\kaggle.json - you can check the exact location, sans drive, with echo %HOMEPATH%). You can define a shell environment variable KAGGLE_CONFIG_DIR to change this location to $KAGGLE_CONFIG_DIR/kaggle.json (on Windows it will be %KAGGLE_CONFIG_DIR%\\kaggle.json).*</p>\n<p>You can make the credentials in your usser, in the account tab. </p>\n<p>I hope I have been able to help you.</p>",
      "rawMarkdown": "Hi, please take a look to the documentation https://github.com/Kaggle/kaggle-api, may be this clarify better than me. \nI think that you need to download the .json with credentials and place in the kaggle folders. \n\n*To use the Kaggle API, sign up for a Kaggle account at https://www.kaggle.com. Then go to the 'Account' tab of your user profile (https://www.kaggle.com/<username>/account) and select 'Create API Token'. This will trigger the download of kaggle.json, a file containing your API credentials.** Place this file in the location** ~/.kaggle/kaggle.json (on Windows in the location C:\\Users\\<Windows-username>\\.kaggle\\kaggle.json - you can check the exact location, sans drive, with echo %HOMEPATH%). You can define a shell environment variable KAGGLE_CONFIG_DIR to change this location to $KAGGLE_CONFIG_DIR/kaggle.json (on Windows it will be %KAGGLE_CONFIG_DIR%\\kaggle.json).*\n\nYou can make the credentials in your usser, in the account tab. \n\nI hope I have been able to help you.\n"
    },
    {
      "id": 1451247,
      "postDate": "2021-08-05T09:46:51.210Z",
      "content": "<p>You will have to join the competition before attempting to download the data.</p>",
      "rawMarkdown": "You will have to join the competition before attempting to download the data."
    },
    {
      "id": 1366729,
      "postDate": "2021-06-27T06:17:02.330Z",
      "content": "<p>I downloaded and added kaggle to my operating system. I typed the command: \"kaggle competitions download -c digit-recognizer\" to download the dataset but it returns 403 Forbidden</p>",
      "rawMarkdown": "I downloaded and added kaggle to my operating system. I typed the command: \"kaggle competitions download -c digit-recognizer\" to download the dataset but it returns 403 Forbidden"
    }
  ],
  "comments": [
    {
      "id": 1501797,
      "author_name": "AkshatKhare23X3",
      "author_url": "",
      "post_date": "2021-09-03T14:47:02.890000",
      "content": "<p>Nice Work Done here.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1486854,
      "author_name": "Guillermo Fantoni",
      "author_url": "",
      "post_date": "2021-08-23T08:55:43.120000",
      "content": "<p>Hi, please take a look to the documentation <a href=\"https://github.com/Kaggle/kaggle-api\" target=\"_blank\">https://github.com/Kaggle/kaggle-api</a>, may be this clarify better than me. <br>\nI think that you need to download the .json with credentials and place in the kaggle folders. </p>\n<p><em>To use the Kaggle API, sign up for a Kaggle account at <a href=\"https://www.kaggle.com\" target=\"_blank\">https://www.kaggle.com</a>. Then go to the 'Account' tab of your user profile (https://www.kaggle.com//account) and select 'Create API Token'. This will trigger the download of kaggle.json, a file containing your API credentials.</em>* Place this file in the location** ~/.kaggle/kaggle.json (on Windows in the location C:\\Users\\.kaggle\\kaggle.json - you can check the exact location, sans drive, with echo %HOMEPATH%). You can define a shell environment variable KAGGLE_CONFIG_DIR to change this location to $KAGGLE_CONFIG_DIR/kaggle.json (on Windows it will be %KAGGLE_CONFIG_DIR%\\kaggle.json).*</p>\n<p>You can make the credentials in your usser, in the account tab. </p>\n<p>I hope I have been able to help you.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 1451247,
      "author_name": "Nir Th",
      "author_url": "",
      "post_date": "2021-08-05T09:46:51.210000",
      "content": "<p>You will have to join the competition before attempting to download the data.</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1501797": "Nice Work Done here.",
    "1486854": "Hi, please take a look to the documentation https://github.com/Kaggle/kaggle-api, may be this clarify better than me. \nI think that you need to download the .json with credentials and place in the kaggle folders. \n\n*To use the Kaggle API, sign up for a Kaggle account at https://www.kaggle.com. Then go to the 'Account' tab of your user profile (https://www.kaggle.com/<username>/account) and select 'Create API Token'. This will trigger the download of kaggle.json, a file containing your API credentials.** Place this file in the location** ~/.kaggle/kaggle.json (on Windows in the location C:\\Users\\<Windows-username>\\.kaggle\\kaggle.json - you can check the exact location, sans drive, with echo %HOMEPATH%). You can define a shell environment variable KAGGLE_CONFIG_DIR to change this location to $KAGGLE_CONFIG_DIR/kaggle.json (on Windows it will be %KAGGLE_CONFIG_DIR%\\kaggle.json).*\n\nYou can make the credentials in your usser, in the account tab. \n\nI hope I have been able to help you.\n",
    "1451247": "You will have to join the competition before attempting to download the data.",
    "1366729": "I downloaded and added kaggle to my operating system. I typed the command: \"kaggle competitions download -c digit-recognizer\" to download the dataset but it returns 403 Forbidden"
  }
}