# the kaggle API
!pip install kaggle
# the username and api key can be found in kaggle create new API token
!echo '{"username":"<your_user_name>","key":"<your_api_key>"}' > /root/.kaggle/kaggle.json
!chmod 600 /root/.kaggle/kaggle.json
# then you can use the kaggle to see competitions and download data
!kaggle competitions list
!kaggle competitions download -c <competition_name>
kaggle config path -p /content/<competion_name>