Releases: allenporter/python-google-health-api
Releases · allenporter/python-google-health-api
Release list
0.5.1
Full Changelog: 0.5.0...0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Changelog
- chore(release): 0.1.0 (a3b257f)
- feat: support write operations for hydration and nutrition logs (8836833)
- types: type civil_start_time and civil_end_time on DailyRollupDataPoint via TYPE_CHECKING (c334233)
- refactor: split DataPointSubApi to separate rollup capabilities in SDK and CLI (8ec62d5)
- docs: export GoogleHealthApi first in all for pydoc ordering (61e7d0c)
- style: move local imports to top of files to satisfy style guide (f23e64b)
- feat: implement Floors, HydrationLog, and DailyRestingHeartRate with CLI rollup and SDK helper support (50e8d7d)
- Update dependency google-auth to v2.55.1 (c47c3be)
- chore(deps): update actions/deploy-pages action to v5 (38a0896)
- chore(deps): update dependency pdoc to v16 (eb0d7f3)
- chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (9b2e288)
- chore(deps): update peter-evans/create-pull-request action to v8 (f086b2e)
- chore(deps): update github artifact actions (f4ccad9)
- chore(deps): update dependency pip to v26 (5ec0c76)
- chore(deps): update actions/upload-pages-artifact action to v5 (1c909ee)
0.0.1
Google Health API Python Client v0.0.1
We are excited to announce the initial release of the Google Health API Python client library, supporting Phase 6 data types, API clients, and expanded CLI capabilities!
What's New
1. Expanded Data Model Support
- Sleep Data: Full structures including stages (
LIGHT,DEEP,REM,AWAKE), stage summaries, nap metadata, and out-of-bed segments. - Activity Data: Added
Distance(millimeters) andBasalEnergyBurned(kcal). - Health Metrics: Added
Weight(grams) andVO2Max.
2. Client Library Integration
- Wired namespaces for
api.sleep,api.distance,api.basal_energy_burned,api.vo2_max, andapi.weight. - Built-in AIP-160 filter support that handles datatype-specific query fields (e.g. automatically querying sleep by
sleep.interval.end_timeas required by the Google API). - Clean, public API design exposing modules (
api,auth,client,const,exceptions, andmodel) at the package root level.
3. Command Line Interface (CLI)
- Revamped with unified, generic subcommands (
list,get,create,patch,delete) for all data types. - Enhanced authorization flow that requests all 9 available read-only scopes (
ACTIVITY_READ,MEASUREMENTS_READ,PROFILE_READ,SETTINGS_READ,SLEEP_READ,NUTRITION_READ,LOCATION_READ,ECG_READ, andIRN_READ) concurrently.