Description Usage Arguments Details
update_activity_goals()
creates or updates a user's daily activity goals.
1 2 3 |
token |
An OAuth 2.0 token generated by oauth_token() |
period |
daily or weekly |
calories_out |
optional Goal value; integer. |
active_minutes |
optional Goal value; integer. |
floors |
optional Goal value; integer. |
distance |
optional Goal value; in the format X.XX or integer. |
steps |
optional Goal value; integer. |
See https://dev.fitbit.com/reference/web-api/activity/#update-activity-goals for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.