get_activity_log: Get Activity Log

Description Usage Arguments Details

View source: R/activity.R

Description

get_activity_log() retrieves a data.frame of a user's activity log entries for a given day.

Usage

1
get_activity_log(token, date = Sys.Date(), simplify = TRUE)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

date

A Date class object or a string in the format "yyyy-MM-dd" or "today".

simplify

logical; should the result be simplified from a list to a data.frame if possible

Details

See https://dev.fitbit.com/build/reference/web-api/activity/#get-activity-logs-list for more details.


teramonagi/fitbitr documentation built on Jan. 21, 2021, 8:35 p.m.