Skip to main content

Official Dropbox REST API Client

Project description

Dropbox Core SDK for Python

A Python library that for Dropbox's HTTP-based Core API.

https://www.dropbox.com/developers/core/docs

----------------------------------
Setup

You can install this package using 'pip':

# pip install dropbox

----------------------------------
Getting a Dropbox API key

You need a Dropbox API key to make API requests.
- Go to: https://dropbox.com/developers/apps
- If you've already registered an app, click on the "Options" link to see the
app's API key and secret.
- Otherwise, click "Create an app" to register an app. Choose "Full Dropbox" or
"App Folder" depending on your needs.
See: https://www.dropbox.com/developers/reference#permissions

----------------------------------
Using the Dropbox API

Full documentation: https://www.dropbox.com/developers/core/

Before your app can access a Dropbox user's files, the user must authorize your
application using OAuth 2. Successfully completing this authorization flow
gives you an "access token" for the user's Dropbox account, which grants you the
ability to make Dropbox API calls to access their files.

- Authorization example for a web app: example/flask_app/
- Authorization example for a command-line tool:
https://www.dropbox.com/developers/core/start/python

Once you have an access token, create a DropboxClient instance and start making
API calls.

You only need to perform the authorization process once per user. Once you have
an access token for a user, save it somewhere persistent, like in a database.
The next time that user visits your app, you can skip the authorization process
and go straight to making API calls.

----------------------------------
Running the Examples

There are example programs in the "example" folder. Before you can run an
example, you need to edit the ".py" file and put your Dropbox API app key and
secret in the "APP_KEY" and "APP_SECRET" constants.

Project details


Release history Release notifications | RSS feed

This version

1.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dropbox-1.6.tar.gz (622.5 kB view details)

Uploaded Source

Built Distribution

dropbox-1.6-py2.7.egg (82.1 kB view details)

Uploaded Source

File details

Details for the file dropbox-1.6.tar.gz.

File metadata

  • Download URL: dropbox-1.6.tar.gz
  • Upload date:
  • Size: 622.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dropbox-1.6.tar.gz
Algorithm Hash digest
SHA256 896c4055df9ee0173bc4ccbf49a73cee5410373977117756036cee748d617ba2
MD5 93a78816d1a80d3e89d897f67ef9e5f8
BLAKE2b-256 766b23a26e00021b9aee3f308428f74e745e07674a1591e93dac8fc180be28df

See more details on using hashes here.

Provenance

File details

Details for the file dropbox-1.6-py2.7.egg.

File metadata

  • Download URL: dropbox-1.6-py2.7.egg
  • Upload date:
  • Size: 82.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dropbox-1.6-py2.7.egg
Algorithm Hash digest
SHA256 d49508de82cbfa68ac267be12d4aa0fde85bdb90b8e4aef314237b94cb7a302b
MD5 f05056a0bcec1d50c8cf1f1d37b387a8
BLAKE2b-256 a1ff551bdfdc8fb04c28461837c66ae96d2609ba8b7cb38b97a0d1f5b5d83419

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page