Google Health API wrapper (formerly Fitbit Web API wrapper)
Project description
1. Overview
A Python library to retrieve various health data (sleep, heart rate, weight, etc.) from the Google Health API (the successor to the Fitbit Web API). Supports Google OAuth 2.0 authentication and automatic token refresh. Designed for personal use with full control over tokens and data fetching.
Breaking change in v2.0.0: this release migrates fully from the legacy Fitbit Web API (sunsetting September 2026) to the Google Health API. There is no backward compatibility with the v1.x implementation. If you need the legacy behavior, pin to fitbitApp<2.0.0.
2. Changelog
v2.1.1: Verified the v2.1.0 convenience methods against live data. 27 of 27 reachable methods worked with zero filter-syntax bugs; 6 require optional nutrition/ecg/irn scopes not requested during testing. See GitHub README for the full breakdown.
v2.1.0: Added convenience wrapper methods for nearly all remaining Google Health API data types (read-only only). Most are based on confirmed filter patterns but not yet individually verified against live data; see GitHub README for details.
v2.0.0: Full migration to the Google Health API. Breaking change, no backward compatibility with v1.x.
v1.1.0: Updated to support Fitbit Sleep API v1.2 and improved authentication logic.
v1.0.0: Initial release with support for activity, heart rate, sleep, SpO2, weight, and other endpoints.
3. Usage
For setup instructions and API usage examples, please see the project page on GitHub:
GitHub Repository: https://github.com/gitpomtec/fitbitApp
4. Reference
Google Health API: https://developers.google.com/health
Migration guide (Fitbit Web API -> Google Health API): https://developers.google.com/health/migration
Legacy Fitbit Web API reference (sunsetting Sept 2026): https://dev.fitbit.com/build/reference/web-api/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fitbitapp-2.1.1.tar.gz.
File metadata
- Download URL: fitbitapp-2.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1ece43cff95c43143250c700cd0d4163e4d8168b71e3625e624950e9095bd0a
|
|
| MD5 |
be24c7aca7c1eb21cf7bbb83a346000c
|
|
| BLAKE2b-256 |
d01cf48d1edfe4de121ff775205b377d2d9a09a7d8dc57160d9ed07f33b02bc0
|
File details
Details for the file fitbitapp-2.1.1-py3-none-any.whl.
File metadata
- Download URL: fitbitapp-2.1.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8626e6a9c581f617b60b7d01526a8a9012efa673ed6caa226392dbb5b1e22cf9
|
|
| MD5 |
d13d8f768d6dcd85bf4b5d13cff1007c
|
|
| BLAKE2b-256 |
77ee8b916555e434455205e55c155236639b2336f66c352d68419d17cf9aa81a
|