Training log
get_training_logRetrieve a date-range training log of Garmin activities with distance, duration, speed, heart rate, power, TSS, training load, and zone splits; filter by sport.
Instructions
Every activity in a period, with the main fields from Garmin's activity list under Garmin's own names and values: distance (m), duration (s), speed (m/s), grade-adjusted speed, elevation, heart rate, cadence, power and power curve (maxAvgPower_), TSS, intensity factor, training effect and load, fastest splits (fastestSplit_, in seconds) and seconds per heart rate and power zone. Up to 366 days per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | Only activities of this sport, by Garmin activity type. Omit for all. | |
| end_date | No | Last day, YYYY-MM-DD, inclusive. Defaults to today. | |
| start_date | Yes | First day, YYYY-MM-DD. |