get_activity_goals: Get Activity Goals

Description Usage Arguments Details

View source: R/activity.R

Description

get_activity_goals() retrieves a user's current daily or weekly activity goals

Usage

1
get_activity_goals(token, period, simplify = TRUE)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

period

"daily" or "weekly"

simplify

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

Details

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


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