Get the base URL of EcoTaxa's API

api_url()

Details

The url is "https://ecotaxa.obs-vlfr.fr/api/" by default but can be changed with the option ecotaxa.url

Examples

api_url()
#> [1] "https://ecotaxa.obs-vlfr.fr/api/"
# set a new default options(ecotaxa.url="https://ecotaxa.somewhere.edu/api/") api_url()
#> [1] "https://ecotaxa.somewhere.edu/api/"
# remove the option options(ecotaxa.url=NULL) api_url()
#> [1] "https://ecotaxa.obs-vlfr.fr/api/"