cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Integrating user dropbox acc with a flask app to save user files

Integrating user dropbox acc with a flask app to save user files

Pattom
New member | Level 2

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 1

Greg-DB
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?