Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Pattom
8 years agoNew member | Level 2
Integrating user dropbox acc with a flask app to save user files
I am trying to enable users in my flask app to authorize my dropbox app so that I get an access token that I can store in the db. This access token will be used to push user files to a folder in their dropbox account. I would appreciate if someone could paste any relevant links because I have found the documentation very confusing (compared to the likes of Stripe) and lacking in quickstart examples. Thanks.
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
Thanks for the feedback! Based on your mention of "Flask", it sounds like you're trying to use the Dropbox API from Python. To do so, we recommend using the official Dropbox API v2 Python SDK:
https://github.com/dropbox/dropbox-sdk-python
We don't have an example for using it with a web framework such as Flask, but you can find examples that make Dropbox API calls here:
https://github.com/dropbox/dropbox-sdk-python/tree/master/example
You can find the documentation and some basic sample code for using the OAuth flow with the Python SDK in a web app here:
https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.oauth.DropboxOAuth2Flow
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!