Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

garmin-cli

bởi voydz

Health & Fitness
1.4kLượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Access Garmin Connect health, fitness, and activity data via a non-interactive CLI.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Show me my sleep and body battery data from yesterday as JSON

AGENT
  1. 1

    Run gc sleep yesterday --format json to fetch sleep stages and duration

  2. 2

    Run gc battery yesterday --format json to fetch body battery levels and events

  3. 3

    Return both JSON responses to the user

ĐẦU RA

Sleep stages, duration, and score alongside body battery levels and drain events for the previous day

Yêu cầu

  • Garmin Connect account
  • garmin-cli binary installed via Homebrew tap: `brew tap voydz/homebrew-tap && brew install garmin-cli`

Cài đặt

clawhub install voydz/garmin-cli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết