Getting account information using the Dropbox Python library

Download dropbox-api eBook

Example

This uses the Dropbox Python SDK to get the user's account information from the Dropbox API.

import dropbox
dbx = dropbox.Dropbox("<ACCESS_TOKEN>")
dbx.users_get_current_account()  

<ACCESS_TOKEN> should be replaced with the access token.

Stats

Contributors: 1
2016-04-08
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook