« Api gouv » : différence entre les versions

Ligne 145 : Ligne 145 :
</syntaxhighlight>
</syntaxhighlight>


==== Démo Requete ====
<syntaxhighlight lang="bash" line copy>
curl -s "https://api-adresse.data.gouv.fr/search/?q=clermont+ferrand&type=municipality" | \
jq '.features[] | {citycode: .properties.citycode, postcode: .properties.postcode, commune: .properties.city}'
</syntaxhighlight>


[[category:Divers]] [[category:api]]
[[category:Divers]] [[category:api]]