get_calories: Calories Time Series

View source: R/activity.R

get_caloriesR Documentation

Calories Time Series

Description

Resource path /activities/calories

Usage

get_calories(start_date, end_date)

Arguments

start_date

The start date of records to be returned in "yyyy-mm-dd" or date(time) format

end_date

The end date of records to be returned in "yyyy-mm-dd" or date(time) format

Value

A tibble with two columns: date and calories

Examples

## Not run: 
start_date <- lubridate::today() - lubridate::weeks(1)
end_date <- lubridate::today()
calories(date)

## End(Not run)


fitbitr documentation built on March 31, 2023, 9:10 p.m.