README
A Fitbit client that works from terminal to read steps data without launching a web browser or requiring that the user is signed in.
Features
- No web sign-in is prompted when running the app
- Access doesn't expire
- Uses a one-time code to get the OAuth2 access token
- Saves a file with the credentials that it uses by default when run
- Exposes a function for generic requests to Fitbit's API
- Returns intraday steps data for a specified date in a Pandas Dataframe and the datetime of the last sync
Setup
Follow the instructions here to obtain the following:
- Client ID
- Code
- Authorization
Note that for access to intraday data, create a personal app.
Then, either
- Run this program and enter information when prompted
- Or pass this information as function arguments
You can then start making Fitbit API calls. The program supports intraday steps and the last sync time with convenience functions, and there is also a function get_url for making generic requests to Fitbit's API.
Release files for fitbit-client 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fitbit-client-0.0.2.tar.gz | 5.8 kB | Details |
Release files / fitbit-client-0.0.2.tar.gz
| Download URL | fitbit-client-0.0.2.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38f57bf87c24d3cb9c0098a3f903d94ea32197ca7052477ab99f80cc56afc152
|
|
BLAKE2b-256 checksum How to use checksums |
0ca2c404b903900c6a9118546ad7a68d97b043c985994a23b65dc007a146220a
|
| 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/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.10
|