get_my_info: Makes a request against the 'api/me' endpoint

Description Usage Arguments Examples

View source: R/queries.R

Description

Returns user metadata, including userid, email, account status, etc. userid is particularly useful since you need it for get_workouts_data.

Usage

1
get_my_info(dictionary = NULL, parse_dates = TRUE, ...)

Arguments

dictionary

A named list. Maps a data-type to a column name. If NULL then no parsing is done

parse_dates

Whether to try and guess which columns are dates and convert

...

Other arguments passed on to methods

Examples

1
2
3
4
5
## Not run: 
peloton_auth()
get_my_info()

## End(Not run)

bweiher/pelotonR documentation built on Jan. 9, 2021, 1:36 a.m.