Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A Google app script that adds your fitbit data to a google spreadsheet
Branch: master
Failed to load latest commit information.
fitbit.js OAuth2 support Update

This little script runs in the Google App Script environment.

Specifically it runs in Google Spreadsheets. It lets you suck down your Fitbit data and the do all kinds of analysis. It's also an easy way to get started with the Fitbit API.

Sadly to get started is a bit of a pain:

  1. Create a new Google Spreadsheet.
  2. Go to Tools-->Script Editor
  3. Replace the template with fitbit.js & reload the spreadsheet
  4. From the Fitbit menu that should appear, run the Configure option
  5. Follow all the instructions given in the form that pops up
  6. Run the "Authorize" menu option -- this will run through the oauth dance.
  7. Run the 'Refresh fitbit Time Data" menu option to get your data
  8. Profit!
Something went wrong with that request. Please try again.