{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/7"}],"enrichment":{"capability":"Python client for the Garmin Connect API with support for authentication, token management, MFA, and fetching health and fitness data from Garmin devices.","skillfed_tags":["garmin-integration","home-assistant","fitness-api"],"use_cases":["Build a Home Assistant integration that syncs daily Garmin health metrics (steps, HR, sleep) into automations and dashboards.","Fetch activity records and training readiness scores to trigger workout reminders or recovery alerts.","Log manual nutrition entries, hydration, or blood pressure measurements back to Garmin Connect from external apps.","Download and archive activity files (FIT, GPX, TCX) for personal data backup or analysis.","Monitor gear usage statistics and device battery/sync status across multiple Garmin devices."],"what_it_does":"ha-garmin is a Python client library for the Garmin Connect API, designed primarily for Home Assistant integration but usable as a standalone tool. It handles Garmin authentication (including MFA), session persistence, and automatic token refresh, then provides both high-level coordinator methods (optimized for Home Assistant's multi-coordinator pattern) and granular API methods to fetch health data (steps, heart rate, sleep, stress, body composition), activity records, training metrics, gear information, and device status. It also supports writing data back to Garmin\u2014logging nutrition, hydration, blood pressure, and manual activities\u2014though nutrition logging requires a Garmin Connect+ subscription.\n\nThe library abstracts away authentication complexity with automatic fallback strategies and midnight-aware data fetching (using yesterday's data when today isn't ready). It automatically transforms raw API responses with unit conversions (seconds to minutes, grams to kilograms) and nested field flattening. Runtime dependencies are lightweight: pydantic for data validation, curl_cffi and requests for HTTP calls.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, uses permissive MIT licensing, and offers low install friction. It is well-suited for Home Assistant users and developers building Garmin integrations. The API surface is comprehensive and the library handles authentication and token management transparently. Start with it if you need Garmin Connect access in Python."},"id":"ha-garmin","links":{"html":"https://skillfed.io/packages/ha-garmin","md":"https://skillfed.io/packages/ha-garmin.md","pypi":"https://pypi.org/project/ha-garmin/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":null,"license_treatment":"permissive","name":"ha-garmin","python_support":"supports_current","summary":"Python client for Garmin Connect API"},"popularity":{"monthly_downloads":114100,"position":12313,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.36"}
