Returns the current base URL of XRONOS, or the address of the API version specified.

xronos_url()

xronos_api_url(version = "v1", base_url = xronos_url())

Arguments

version

Version of the API to use. Currently has no effect.

base_url

Base URL of XRONOS.

Examples

xronos_url()
#> [1] "https://xronos.ch"

xronos_api_url()
#> [1] "https://xronos.ch/api/v1/data"