Suggestion L'Autriche Code postal Réponses
Suggest a Austria 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/at/postalCode/?authKey=YOUR_AUTH_KEY&postalCode=8010
Cette application donne le résultat suivant:
200: Postal code suggestion(s) available
[
{
"country": "Austria",
"countryCode": "AT",
"lat": 48.20876371425494,
"lng": 16.37048651497705,
"settlements": [
"Innere Stadt"
],
"postalCode": "1010",
"states": [
"Wien"
],
"districts": [
"Wien(Stadt)"
],
"municipalities": [
"Wien"
]
}
]
Réponses d'erreur
401: Not authenticated
404: No results found