Dropbox API Getting account information Getting account information using the Dropbox Python library


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.