osem_ensure_api_available: Check if the given openSenseMap API endpoint is available

View source: R/api.R

osem_ensure_api_availableR Documentation

Check if the given openSenseMap API endpoint is available

Description

Check if the given openSenseMap API endpoint is available

Usage

osem_ensure_api_available(endpoint = osem_endpoint())

Arguments

endpoint

The API base URL to check, defaulting to osem_endpoint

Value

TRUE if the API is available, otherwise stop() is called.


opensensmapr documentation built on March 31, 2023, 11:45 p.m.