garmin-cli
voydz द्वारा
Health & Fitnessसंक्षिप्त
Access Garmin Connect health, fitness, and activity data via a non-interactive CLI.
विवरण
यह स्किल क्या करती है
Provides CLI access to Garmin Connect health and fitness data via the `gc` command. Covers activities, daily health metrics, sleep, stress, body battery, workouts, devices, and raw API endpoints. Supports JSON output for programmatic use.
Garmin Connect has no official public API, so this CLI is the only way to script or automate access to Garmin data without a browser.
इसे कब इस्तेमाल करें
- Querying today's step count from a shell script
- Downloading a recent run as a GPX file for route analysis
- Checking HRV and training readiness before a workout
- Exporting last week's sleep data to a file
- Creating and uploading structured workout plans programmatically
उदाहरण वर्कफ़्लो
User asks: Show me my sleep and body battery data from yesterday as JSON
- 1
Run
gc sleep yesterday --format jsonto fetch sleep stages and duration - 2
Run
gc battery yesterday --format jsonto fetch body battery levels and events - 3
Return both JSON responses to the user
Sleep stages, duration, and score alongside body battery levels and drain events for the previous day
आवश्यकताएँ
- Garmin Connect account
- garmin-cli binary installed via Homebrew tap: `brew tap voydz/homebrew-tap && brew install garmin-cli`
इंस्टॉलेशन
clawhub install voydz/garmin-cliCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।