Learn R Programming

telraamStats (version 1.1.2)

get_api_state: 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())

Value

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

Arguments

key

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

Examples

Run this code
my_token <- 'ThisIsNotAValidToken'
get_api_state(my_token)

Run the code above in your browser using DataLab