« Api gouv » : différence entre les versions

Ligne 15 : Ligne 15 :
*[https://doc.data.gouv.fr/api/reference/ doc data gouv api]
*[https://doc.data.gouv.fr/api/reference/ doc data gouv api]
[[category:Divers]] [[category:api]]
[[category:Divers]] [[category:api]]
=== calendrier.api.gouv.fr ===
Jours fériés
<syntaxhighlight lang="bash" copy>
curl -s 'GET' 'https://calendrier.api.gouv.fr/jours-feries/metropole/2027.json'  -H 'accept: application/json' | jq
</syntaxhighlight>
=== apicarto.ign.fr ===
Cadastre
<syntaxhighlight lang="bash" copy>
curl -s 'https://apicarto.ign.fr/api/cadastre/commune?code_insee=02211' | jq
</syntaxhighlight>
<syntaxhighlight lang="bash" copy>
code postaux
curl -s 'https://apicarto.ign.fr/api/codes-postaux/communes/02290' | jq
</syntaxhighlight>


=== adresse.data.gouv.fr ===
=== adresse.data.gouv.fr ===