R/tigo-api.R
tigo_oauth.Rd
Tigo oauth endpoints
tigo_oauth(endpoint, token = get_token()$auth)
Tigo endpoint
Tigo token get_token
get_token
data returned from endpoint
if (FALSE) { systems <- tigo_oauth(endpoint = tigo_api()$systems) system_id <- systems$systems[[1]]$system_id sources <- tigo_oauth(endpoint = sprintf("%s%d", tigo_api()$sources, system_id)) objects <- tigo_oauth(endpoint = sprintf("%s%d", tigo_api()$objects, system_id)) }