Skip to content

Releases: allenporter/python-google-health-api

0.5.1

Choose a tag to compare

@allenporter allenporter released this 03 Jul 17:12

Full Changelog: 0.5.0...0.5.1

0.5.0

Choose a tag to compare

@allenporter allenporter released this 03 Jul 16:22

Full Changelog: 0.4.0...0.5.0

0.4.0

Choose a tag to compare

@allenporter allenporter released this 02 Jul 23:40

Full Changelog: 0.3.0...0.4.0

0.3.0

Choose a tag to compare

@allenporter allenporter released this 29 Jun 05:05

Full Changelog: 0.2.0...0.3.0

0.2.0

Choose a tag to compare

@allenporter allenporter released this 29 Jun 04:32

Full Changelog: 0.1.0...0.2.0

0.1.0

Choose a tag to compare

@allenporter allenporter released this 26 Jun 16:39

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

Choose a tag to compare

@allenporter allenporter released this 26 Jun 15:24

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) and BasalEnergyBurned (kcal).
  • Health Metrics: Added Weight (grams) and VO2Max.

2. Client Library Integration

  • Wired namespaces for api.sleep, api.distance, api.basal_energy_burned, api.vo2_max, and api.weight.
  • Built-in AIP-160 filter support that handles datatype-specific query fields (e.g. automatically querying sleep by sleep.interval.end_time as required by the Google API).
  • Clean, public API design exposing modules (api, auth, client, const, exceptions, and model) 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, and IRN_READ) concurrently.