Skip to contents

Get the API base path. Can be configured with set_api_base_path and with DIDOLITE_API_BASE_PATH env var. Order is :

  1. if set_api_base_path has been used

  2. DIDOLITE_API_BASE_PATH

  3. the default default_api_base_path

Usage

get_api_base_path()

Value

the api base path

Examples

get_api_base_path()
#> [1] "https://data.statistiques.developpement-durable.gouv.fr/dido/api/v1"