garminconnect
Python 3 API wrapper for Garmin Connect
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides comprehensive API coverage for Garmin Connect. It's suitable for production use if you need programmatic access to Garmin health and fitness data. Requires Python 3.12 or later.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later.
- First login may require MFA code entry via interactive prompt if multi-factor authentication is enabled on the Garmin account.
- Low friction installation with three runtime dependencies (curl_cffi, requests, ua-generator).
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 2,804 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 741,000 downloads/mo, #5,183 on PyPI
Alternatives
Verify before relying
pip install garminconnect curl_cffi
from garminconnect import Garmin
client = Garmin(email='user@example.com', password='password')
client.login()
stats = client.get_stats_today()
print(f"Steps: {stats['steps']}, Calories: {stats['calories']}")- Whether all documented API methods are fully functional or if some are experimental/partial implementations
- Rate limiting or throttling behavior when making multiple API calls in succession
- Whether MFA support covers all Garmin account types or only specific regions/configurations
What it is and what it does
garminconnect is a Python 3 API client for Garmin Connect that handles authentication, token management, and access to API endpoints across multiple categories. It abstracts away the complexity of Garmin's mobile SSO flow, managing token refresh automatically so you can focus on querying health data, activities, devices, and fitness metrics.
The library covers health metrics (heart rate, sleep, stress, SpO2, HRV), activity management (workouts, typed uploads, scheduling), nutrition logging, golf scorecards, device information, goals and achievements, and historical trends. It uses curl_cffi, requests, and ua-generator to handle HTTP communication and maintain compatibility with Garmin's API endpoints. Authentication tokens are stored locally and refreshed transparently; only a full re-login is needed if the refresh token expires.
Use it for
- Extract daily step counts, calories, and resting heart rate for personal fitness dashboards or health tracking applications.
- Programmatically upload workout data (running, cycling, swimming) to Garmin Connect or sync with external fitness platforms.
- Retrieve historical activity and health trends over date ranges for analysis, reporting, or data migration.
- Automate device management tasks like querying connected devices, alarms, or solar data without manual Garmin Connect login.
- Build integrations that pull Garmin golf scorecard data, shot-by-shot metrics, or club statistics for analysis.
- Monitor personal records, badges, challenges, and training readiness metrics for coaching or performance tracking workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and provides comprehensive API coverage for Garmin Connect. It's suitable for production use if you need programmatic access to Garmin health and fitness data. Requires Python 3.12 or later.
Install
garminconnect on PyPI
Before you install
Low friction installation with three runtime dependencies (curl_cffi, requests, ua-generator). Package is actively maintained with a recent release (3 days old) and 2804 GitHub stars. Requires Python 3.12 or later.
Requires Python 3.12 or later. First login may require MFA code entry via interactive prompt if multi-factor authentication is enabled on the Garmin account.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install garminconnect curl_cffi
from garminconnect import Garmin
client = Garmin(email='user@example.com', password='password')
client.login()
stats = client.get_stats_today()
print(f"Steps: {stats['steps']}, Calories: {stats['calories']}")
Verify before relying
- Whether all documented API methods are fully functional or if some are experimental/partial implementations
- Rate limiting or throttling behavior when making multiple API calls in succession
- Whether MFA support covers all Garmin account types or only specific regions/configurations
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagescurl_cffirequestsua-generator |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 741,000 / month, #5,183 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: garminconnect-0.3.10-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “garmin connect api wrapper”
- garminconnectPython wrapper for the Garmin Connect API that provides programmatic…
- garthGarth provides Python access to Garmin Connect data via OAuth…
- ha-garminPython client for the Garmin Connect API with support for…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also garth · ha-garmin · stravalib · fit-tool · fitparse · nextcloudmonitor · garmin-fit-sdk · odg-client · aiowithings · fitdecode