get_weight_logs: Get Weight Logs

Description Usage Arguments

View source: R/body_weight.R

Description

get_weight_logs() returns time series data in the specified range for a given resource.

Usage

1
2
get_weight_logs(token, date = NULL, base_date = NULL, period = NULL,
  end_date = NULL)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

date

The end date of the period specified in the format yyyy-MM-dd or today.

base_date

The range start date, in the format yyyy-MM-dd or today.

period

The range for which data will be returned. Options are 1d, 7d, 30d, 1w, or 1m.

end_date

The end date of the range. The period must not be longer than 31 days.


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