getsleepsummary: Get sleep summary data

Description Usage Arguments Value Examples

View source: R/get.R

Description

Get sleep summary data

Usage

1
getsleepsummary(token, startdate = NULL, enddate = NULL, tz = "")

Arguments

token

Your token obtained using withings_auth()

startdate

Start date in character, date or POSIXct format

enddate

End date in character, date or POSIXct format

tz

Time zone

Value

A list containing the status (status) and the data (body)

Examples

1
2
3
4
## Not run: 
getsleepsummary(token, "2018-10-16", "2018-10-18")

## End(Not run)

mathesong/rwithings documentation built on Oct. 6, 2021, 11:45 p.m.