Dropbox API Download
This is a simple script to download files from Dropbox using the Dropbox API.
Setup
-
Create a Dropbox app at https://www.dropbox.com/developers/apps
-
Generate an access token for your app: https://stackoverflow.com/a/71794390
-
Create a
.env
file in the root of the project with the following contents:REFRESH_TOKEN = <YOUR_REFRESH_TOKEN> APP_KEY = <YOUR_APP_KEY> APP_SECRET = <YOUR_APP_SECRET>
-
Create a folder named out in the root of the project:
mkdir out
-
Install requirements:
pip install -r requirements.txt
-
Run the notebook