Dropbox API Getting account information using the Dropbox Python library

Download Dropbox API for free

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.

Getting space usage information for the linked user via curl in PHP