get_activity_calories {fitbitr}R Documentation

Activity Calories Time Series

Description

Resource path /activities/activityCalories

Usage

get_activity_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 activity_calories

Examples

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

## End(Not run)


[Package fitbitr version 0.3.0 Index]