OpenDataSoft service objects with custom base URL

4.0
3.2
3.1
OpenDataSoft service objects with custom base URL
0
Tags: #<Tag:0x00007f4a0581bec8> #<Tag:0x00007f4a0581bd60> #<Tag:0x00007f4a0581bb58>

(David AZOULAY) #1

It is possible to configure OpenDataSoft service for datasets exposed on a custom base URL. e.g. datasets from https://plateforme.api-agro.fr/pages/plateforme/

To do so you just need to configure the base_url parameter along with the dataset name parameter, e.g:

{
	"base_url": "https://plateforme.api-agro.fr/api",
	"name": "sols-bretagne-1-250000"
}

See https://www.simplicite.io/resources/documentation/05-remote/opendatasoft.md for details on OpenDataSoft service object configuration


(Benoît Pasquiet) #2

Merci pour cette réponse simple et claire : j’avais oublié je pense “/api” à la fin de la base_url.