get_api_state {telraamStats}R 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)

[Package telraamStats version 1.1.2 Index]