oc_api_ok function

Is the OpenCage API available?

Is the OpenCage API available?

Checks whether the OpenCage API can be reached.

oc_api_ok(url = "https://api.opencagedata.com")

Arguments

Returns

A single logical value, TRUE or FALSE.