get_lifetime_stats: Get Lifetime Stats

Description Usage Arguments Details

Description

get_lifetime_stats() retrieves the user's activity statistics. Activity statistics includes Lifetime and Best achievement values from the My Achievements tile on the website dashboard. Response contains both statistics from the tracker device and total numbers including tracker data and manual activity log entries as seen on the Fitbit website dashboard.

Usage

1
get_lifetime_stats(token, simplify = TRUE)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

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-lifetime-stats for more details.


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