intervals-icu
bởi pseuss
Health & FitnessTóm tắt
Complete guide for accessing and managing training data.
Mô tả
Kỹ năng này làm gì
A reference guide for the Intervals.icu REST API covering authentication, activities, calendar events, wellness records, and sport settings. Includes curl examples for reading and writing data across all major endpoints, with support for field filtering, bulk operations, and workout file exports.
Covers both read and write operations across every major endpoint, including bulk actions, field filtering, and multi-format workout exports, in a single reference.
Khi nào nên dùng
- Pulling last week's ride power and HR zone data into a custom dashboard
- Scheduling a full week of structured workouts on an athlete's calendar
- Logging daily wellness metrics like sleep duration and resting heart rate
- Exporting planned workouts as Zwift or Garmin files for device loading
- Syncing completed activities from an external platform with deduplication
Quy trình ví dụ
User asks: Show me training load and heart rate zones for my rides last week
- 1
Authenticates with the Intervals.icu API using the athlete's ID and API key
- 2
Requests activities for the past seven days with fields=name,type,icu_training_load,average_heartrate,icu_hr_zone_times
- 3
Filters the response to Ride type activities
- 4
Formats and returns training load values and time spent in each HR zone per ride
A breakdown of each ride from the past week showing training load score and minutes spent in each heart rate zone
Yêu cầu
- Intervals.icu account
- Athlete ID from Intervals.icu settings page
- API key from Intervals.icu settings page
Cài đặt
clawhub install pseuss/intervals-icu-apiChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.