Skip to main content

export fitbit data

Project description

# MyFitbit

Because “Your data belongs to you!”

…and fitbit’s own data export sucks.

![Python version]( [![Build status](]( [![Coverage status](]( [![PyPI version](]( [![PyPI downloads](](

## Installation

pip install nostalgia_fitbit

## Setup

nostalgia_fitbit assumes a registered app.

To get started, follow the prompts after running (will open a browser):


The app should look like this:

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

<img src=”docs/fitbit_app.png” width=”271” height=”606”>

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.

## Generate report

Note: This is not officially supported by nostalgia

` 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)

Download files

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

Source Distribution

nostalgia_fitbit-0.6.0.tar.gz (1.5 MB view hashes)

Uploaded source

Built Distribution

nostalgia_fitbit-0.6.0-py3-none-any.whl (27.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page