get_api_state: Check API state

View source: R/api_state.R

get_api_stateR Documentation

Check API state

Description

Return the state of the 'Telraam' API. Determine if updates can be made.

Usage

get_api_state(key = get_telraam_token())

Arguments

key

the API key (set by the set_telraam_token function - default -, or directly filled).

Value

Boolean: TRUE if the API responds well, FALSE otherwise.

Examples

my_token <- 'ThisIsNotAValidToken'
get_api_state(my_token)

telraamStats documentation built on May 29, 2024, 10:08 a.m.