get_calories
Get calorie details for a user by user ID, with optional date and granularity (day, week, month, year) to aggregate data.
Instructions
Get calorie details for a user.
Params:
user_id (str, required)
date (YYYY-MM-DD, optional; default: today in SENSR_TZ or America/Chicago)
granularity (enum str, optional; default 'day'): day|week|month|year
Returns: Sensr /v1/calorie/details response
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| user_id | Yes | ||
| granularity | No | day |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||