Description Usage Arguments Value Author(s) Examples
uptimerobot.account.details
returns a list or a vector with the account details connected to the given api key.
1 | uptimerobot.account.details(api.key, unlist = FALSE)
|
api.key |
string with a valid key for connecting to Uptimerobot API. |
unlist |
logical. Set to |
A list or a vector with the account details.
Gabriele Baldassarre
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Let's assume the api.key is available into the environment variable KEY
api.key <- Sys.getenv("KEY", "")
# Returns details as a list
details.list <- uptimerobot.account.details(api.key)
# Returns details as a vector
details.num <- uptimerobot.account.details(api.key, unlist = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.