R/api_state.R
get_api_state.Rd
Return the state of the 'Telraam' API. Determine if updates can be made.
get_api_state(key = get_telraam_token())
the API key (set by the set_telraam_token function - default -, or directly filled).
Boolean: TRUE if the API responds well, FALSE otherwise.
my_token <- 'ThisIsNotAValidToken' get_api_state(my_token) #> [1] FALSE