uptimerobot.account.details: Get the account details for who is linked to the given API...

Description Usage Arguments Value Author(s) Examples

Description

uptimerobot.account.details returns a list or a vector with the account details connected to the given api key.

Usage

1

Arguments

api.key

string with a valid key for connecting to Uptimerobot API.

unlist

logical. Set to TRUE to unlist the output to a named vector, FALSE to get a named list.

Value

A list or a vector with the account details.

Author(s)

Gabriele Baldassarre

Examples

 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)

uptimeRobot documentation built on May 2, 2019, 2:48 p.m.