

Now you’ll be redirected to a page with your Application Key, access token, etc.įinally, copy your access token and we’re all set to write our code. Setting up Dropbox account:įirstly, we need to create a Dropbox account here.Ĭlick on ‘Create apps’ and create your account.Īfter your account is created successfully, you’ll need to provide the specifications of your app, like the type of dropbox you require, the app name, etc. We are using Python because it already has a built-in library for Dropbox.

And, you want to upload the pictures captured to the cloud in real-time.įor uploading these files, we can use the Dropbox-API in Python. To those of you wondering where this API can be used, consider the following example: Suppose you want to make a Surveillance Application. Check out the dropbox documentation here. It is free and a basic Dropbox account has 2GB of storage space.

This post is all about how to upload files to Dropbox using Dropbox-API in Python.
