Skip to contents

set a new API base path to use

Usage

set_api_base_path(path = NULL)

Arguments

path

or NULL the path to set or NULL to use to default path.

  • if set to non NULL, set the value as path

  • if NULL set the default path https://data.statistiques.developpement-durable.gouv.fr/dido/api/v1

@details this function delete the cache.

Value

the previous path

Examples

# to set some new path
set_api_base_path("http://localhost/api/v1")