Skip to content

Dropbox API

pgalko edited this page Mar 20, 2022 · 2 revisions

Create and Setup Dropbox API application

You will need to register your Athlete_Data_Warehouse application with Dropbox, and get the App Key and App Secret to be able to authenticate via OAuth2 and allow user to archive his/her data in Dropbox.

Once your application is registered with Dropbox input the app_key, app_secret and redirect URI into work_dir/config/settings.ini before you run the application for the first time. The details will be encrypted upon application's first run and clear text settings.ini deleted.

[dropbox]
app_key = kshnltbz0q27cb9
app_secret = 87v96fjcokj7ghr
redirect_uri = http://127.0.0.1:5000/dropbox_confirm
  • How to Create an account

You'll need to have a Dropbox account to access the APIs. If you don't already have one, you can sign up for a free account here: https://www.dropbox.com/register.

Please also install the Dropbox desktop application here: https://www.dropbox.com/install.

To start archiving data to Dropbox via Athlete_Data_Warehouse utility, you will need to make an application

Browse to https://www.dropbox.com/developers/apps and click on "create app"'

Create a new app as per the below:

image Once the new app has been created fill out the details as per the below:

image

Clone this wiki locally