get_daily_stats
Fetch daily calorie or step totals for a date range from Garmin Connect. Handles long ranges by chunking and returns combined active/resting calories or steps with distance.
Instructions
GETs /usersummary-service/stats/daily/{start}/{end}?statsType=CALORIES|STEPS; statsType is exactly "CALORIES" or "STEPS" (any other value, lower-case included, is a Garmin 404). Garmin 400s when end - start > 27, so longer ranges are fetched in 28-day windows and the rows concatenated; Garmin's per-request aggregations (averages) are DROPPED rather than returned wrong for a chunked range. A range with no data returns [] (Garmin answers null). Overlaps getDailySteps/getCaloriesDaily; this one returns total/active/resting calories together, and steps with totalDistance and…
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Calendar date, YYYY-MM-DD (UTC) | |
| start | Yes | Calendar date, YYYY-MM-DD (UTC) | |
| statsType | Yes |