intervals-icu
от pseuss
Health & FitnessКратко
Complete guide for accessing and managing training data.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
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
Требования
- Intervals.icu account
- Athlete ID from Intervals.icu settings page
- API key from Intervals.icu settings page
Установка
clawhub install pseuss/intervals-icu-apiВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.