log_weight: Log Weight

Description Usage Arguments

View source: R/body_weight.R

Description

log_weight() creates log entry for a body weight and get a response in the format requested.

Usage

1
log_weight(token, weight, date, time = NULL)

Arguments

token

An OAuth 2.0 token generated by oauth_token()

weight

Weight - in the format X.XX.

date

Log entry date - in the format yyyy-MM-dd.

time

Time of the measurement - hours and minutes in the format HH:mm:ss, which is set to the last second of the day if time is not provided.


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