Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

export fitbit data

Project Description

# MyFitbit

Because “Your data belongs to you!”

…and fitbit’s own data export sucks.

## Installation


`sh git clone cd myfitbit python3 install `

## Setup

  1. Register a new app at

The app should look like this:

The Callback URL must be exactly http://localhost:8189/auth_code

![Fitbit App](docs/fitbit_app.png=271x606)

  1. Configure the API keys

Make a file config.ini in your working directory with the client ID and secret you got from registering the fitbit app:

` [fitbit_auth] client_id = 123ABCD client_secret = 0123456789abcdef0a1b2c3d4f5 `

  1. Export your data

` python3 -m myfitbit `

This will open a web browser and prompt you to allow the app to access your data.

It will then begin exporting to your current working directory.

Note that the fitbit API is rate limited to 150 calls/hour, and you can query only 1 day of heartrate data at a time. If you many days of data, you will be rate limited and see an HTTP 429 error. Simply re-run the command an hour later and it will resume downloading where it left off.

  1. Generate report

` python3 -m --user 123ABC `

Use the user id seen in the output from step 2

This will generate report.html in your current working directory.

![Fitbit Report](docs/fitbit.png)

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(8.0 kB) Copy SHA256 Hash SHA256
Source None Feb 3, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting