powered by
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) { # Check if API is properly set up rl_check_api() }
Run the code above in your browser using DataLab