Suggestion Allemagne Établissement Réponses
Suggest a German address.
Remarque : Il s'agit de la documentation de l'API v2 qui est toujours en version bêta.
GET Exemple de requête:
https://api.pro6pp.nl/v2/suggest/de/settlement?settlement=Dresden&authKey=YOUR_API_KEY
Cette application donne le résultat suivant:
200: Settlement suggestion(s) available
[
{
"lat": 51.05192063902638,
"lng": 13.76444739768591,
"municipality": "Dresden",
"settlement": "Dresden",
"state": "Sachsen",
"postalCodes": [
"01067 ",
"01069 ",
"01097 ",
"01099 ",
"01108 ",
"01109 ",
"01127 ",
"01129 ",
"01139 ",
"01156 ",
"01157 ",
"01159 ",
"01169 ",
"01187 ",
"01189 ",
"01217 ",
"01219 ",
"01237 ",
"01239 ",
"01257 ",
"01259 ",
"01277 ",
"01279 ",
"01307 ",
"01309 ",
"01324 ",
"01326 ",
"01328 ",
"01445 ",
"01454 ",
"01465 ",
"01468 ",
"01705 ",
"01796 "
]
}
]
Réponses d'erreur
401: Not authenticated
404: No results found