Skip to main content

README

Build Status Downloads

A way to access Fitbit daily and intraday steps data. See example.py for usage.

This project uses a different notion of active steps than Fitbit. From experience, if you are walking for nine minutes, stop for one minute (say, at a traffic intersection before you are given the 'walk' prompt), and walk for another nine minutes, Fitbit will not register your walk as 'active'. This reader allows you to specify a step frequency that is considered active during a duration (the finest is minutes) and a number of time periods that can be inactive before ending the activity.

All data returns are in Pandas dataframes.

Setup

Option 1: Clone the repository

Best if you want to modify or view the code - note that you can do the following inside of a virtual environment

git clone https://github.com/robotpt/fitbit-reader

An easy way to setup the repository with its dependencies and with your Python path is to use pip.

pip install -e fitbit-reader

Tests can be run with the following commands.

cd fitbit-reader
python3 -m unittest

Option 2: Use Pip

Best if you just want to use it

python3 -m pip install fitbit_reader

Release files for fitbit-reader 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fitbit-reader 0.0.2
File Size Uploaded
fitbit-reader-0.0.2.tar.gz 5.9 kB Details

Release files / fitbit-reader-0.0.2.tar.gz

Download URL fitbit-reader-0.0.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
464d126ff9d96f97ca4fb062e2db662917a607987948f561e78c64145e28b771
BLAKE2b-256 checksum
How to use checksums
1b4dedbba3246f80a61da1a66c1b986725c1fdacda62b6c4ef818c546c4bfbb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page