Description Usage Arguments Details
get_activity_goals()
retrieves a user's current daily or weekly activity goals
1 | get_activity_goals(token, period, simplify = TRUE)
|
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 |
See https://dev.fitbit.com/reference/web-api/activity/#get-activity-goals for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.