Description Usage Arguments Examples
Users needs to run this each session in order to authenticate any requests made against other Pelton endpoints. Set environmental variables `PELOTON_LOGIN`
and `PELOTON_PASSWORD`
, or provide them yourself.
1 2 3 4 | peloton_auth(
login = Sys.getenv("PELOTON_LOGIN"),
password = Sys.getenv("PELOTON_PASSWORD")
)
|
login |
Peloton login |
password |
Peloton password |
1 2 3 4 | ## Not run:
peloton_auth() # need to run each session to authorize any other API requests
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.