get Token from config files and option list
Read Auth config file to options
getToken(platform = NULL, username = NULL)
updateAuthList()
token
url
version
platform
fs
api(..., limit = getOption("sevenbridges")$limit,
offset = getOption("sevenbridges")$offset, complete = FALSE)
billing(id = NULL, breakdown = FALSE, ...)
file(name = NULL, id = NULL, project = NULL, exact = FALSE,
detail = FALSE, metadata = list(), origin.task = NULL, ...)
invoice(id = NULL, ...)
project(name = NULL, id = NULL, index = NULL, ignore.case = TRUE,
exact = FALSE, owner = NULL, detail = FALSE, ...)
project_new(name = NULL, billing_group_id = NULL, description = name,
tags = list(), type = "v2", ...)
project_owner(owner = NULL, ...)
rate_limit(...)
user(username = NULL, ...)
Current config file is set on home directory with the name .sbg.auth.yml
## replace it with real token
token <- "aef7e9e3f6c54fb1b338ac4ecddf1a56"
a <- Auth(token)
Run the code above in your browser using DataLab