python-garminconnect is a Python API wrapper that provides programmatic access to Garmin Connect health, fitness, and device data.
The library solves the problem of accessing Garmin Connect data without using the web interface by wrapping the underlying API endpoints. It handles authentication, token storage, and provides organized access to over 154 API methods across 14 categories including user profiles, daily health metrics, activities and workouts, body composition, goals and achievements, device information, gear management, hydration and wellness tracking, training plans, golf data, and activity editing. The tool includes robust error handling and supports JSON export of retrieved data.
Developers should choose this library if they need to integrate Garmin Connect data into custom applications, automate fitness data retrieval, or build tools that work with Garmin health and activity information. It suits projects requiring comprehensive access to workout history, health metrics, device management, and training data. The library is compatible with all Garmin Connect accounts and requires Python 3.12 or later. The project provides two examples: a simple getting-started example demonstrating authentication and basic calls, and a comprehensive demo showcasing the full range of available methods organized by category with interactive features including categorized navigation and smart data management capabilities.
Development activity shows consistent engagement with the codebase through regular updates addressing API changes and expanding method coverage. The project maintains clear documentation with organized examples and categorized API method listings that facilitate navigation of its extensive feature set. Error handling receives attention with user-friendly prompts and validation logic. The tool actively tracks compatibility with Garmin Connect's evolving API surface, as evidenced by the breadth of typed workout uploads, device interactions, and data export features that reflect current platform capabilities.