get_nutrition_by_date_range
Retrieve Fitbit nutrition data for a specified resource and date range. Supports resources like caloriesIn, water, protein, and more.
Instructions
Get the raw JSON response for nutrition data from Fitbit for a specific resource and date range. Requires 'resource' parameter (caloriesIn, water), 'startDate' and 'endDate' parameters in 'YYYY-MM-DD' format. Note: The API enforces a maximum range of 1,095 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | The nutrition resource to retrieve data for. | |
| startDate | Yes | The start date for which to retrieve nutrition data (YYYY-MM-DD). | |
| endDate | Yes | The end date for which to retrieve nutrition data (YYYY-MM-DD). |