Python client for the Garmin Connect API. Version 0.1.19 supports Garmin SSO/Loading (OAuth1/OAuth2) authentication and provides methods to fetch activities, body composition, daily summaries, heart rate, sleep, stress, fitness age, training readiness, and more. Features include automatic token refresh and activity upload. Released under MIT license, with regular updates.
pip install ha-garminNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic login and data retrieval. Set environment variables GARMIN_EMAIL and GARMIN_PASSWORD.
Update to v0.1.19: pip install --upgrade ha-garmin
Upgrade to v0.1.16+.
Upgrade to v0.1.17+.
Always call api.login() after creating a new instance, or catch exceptions.