Learn R Programming

redlist (version 0.2.0)

rl_check_api: Check IUCN Red List API Status

Description

Verifies whether the IUCN Red List API is accessible and the provided API key is valid.

Usage

rl_check_api()

Arguments

Value

Invisibly returns TRUE if the API is working properly. If not, the function will abort with an appropriate error message.

See Also

rl_set_api()

Examples

Run this code
if (FALSE) {
# Check if API is properly set up
rl_check_api()
}

Run the code above in your browser using DataLab