How to include data from kaggle dataset?

I want to use dataset from kaggle, So I need to somehow get a link to this dataset and download it to further work on it in the code. Kaggle Api is great and can provide this functionality but I have to authenticate it with my token, and since I’m deploying that app and want to share the code on github I don’t feel safe sharing my kaggle api token, so how can I use a dataset without going into this hassle?

Of you deploy to Streamlit cloud, there is secrets:

In any case yo’ll need to share the token with the deployment environment.

1 Like

Super awesome, this solves my problem perfectly, thanks @Goyo.
I guess I need to pay more attention to docs :sweat_smile:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.