R/rl_set_api.R
rl_check_api.Rd
Verifies whether the IUCN Red List API is accessible and the provided API key is valid.
rl_check_api()
Invisibly returns TRUE if the API is working properly. If not, the function will abort with an appropriate error message.
TRUE
rl_set_api()
if (FALSE) { # \dontrun{ # Check if API is properly set up rl_check_api() } # }