Skip to content
Content Endpoints: files/get_thumbnail dropbox API call to return a jpeg image for a given path
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Expense organizer app with DBX API


  • Dropbox (DBX) API to OAuth into DBX
    OAuth into DBX

  • DBX API to Render images
    Get access to DBX to Render images

Objective: Expense organizer app that runs on DBX. Dropbox APIs featuring content Endpoints.

* OAuth: Direct the user to Dropbox, and prompt for a code.
* Render image: Files/get_thumbnail Dropbox API call to return a jpeg image for a given path.

What do I do to try out OAuth on DBX?

  • OAuth DBX platform ====================
  1. Check for Python installation in your terminal, if Python is missing or not found, you’ll need to install it here.

python -V

  1. Install DropBox (DBX) Platform Python SDK.

pip install dropbox

  1. OAuth, direct the user to Dropbox, and prompt for a code. DropboxOAuth2FlowNoRedirect object constructs a URL to

from dropbox import DropboxOAuth2FlowNoRedirect

auth_flow = DropboxOAuth2FlowNoRedirect("APP_KEY", "APP_SECRET") print("Authorize your script here: "+auth_flow.start()) code = raw_input('Input your code: ').strip()

print("Initializing Dropbox API...") dbx = dropbox.Dropbox(auth_flow.finish(code).access_token)

  1. Run in your terminal

  2. Go to the URL you are given to get the OAuth code to get access to the expense receipts

What do I do to try out the get image thumbnail on DBX?

  • Render Image Thumbnail on DBX platform =========================================
  1. Run


  1. Go to http://localhost:8088


You can’t perform that action at this time.