pizzaplanet

Kaggle API install and Competitions Data Download 본문

AI

Kaggle API install and Competitions Data Download

scio 2018. 9. 18. 21:08

OS: Ubuntu 18.04


0. Kaggle API Install

pip install kaggle



1. My profile의 Account로 이동한다.




2. Create New API Token을 클릭하여 kaggle.json을 다운받는다.



3. kaggle.json을 /home/User/.kaggle/. 에 저장한다.



4. 저장한 json 권한 수정

chmod 600 /home/[user]/.kaggle/kaggle.json







5. 테스트로 Kaggle Compeitions list 출력

kaggle competitions list




6. 원하는 Competitions Data Download

kaggle competition download -c [Competitions Name]


Comments