add_favorite_activity: Add Favorite Activity

Description Usage Arguments Details

View source: R/activity.R

Description

add_favorite_activity() adds the activity with the given ID to user's list of favorite activities.

Usage

1
add_favorite_activity(token, activity_id)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

activity_id

The ID of the activity to add to user's favorites.

Details

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


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