Suggestion Danemark Code postal Réponses
Suggest a Danish 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/dk/postalCode/?authKey=YOUR_AUTH_KEY&postalCode=2200
Cette application donne le résultat suivant:
200: Postal code suggestion(s) available
[
{
"country": "Denmark",
"countryCode": "DK",
"lat": 55.70611070113004,
"lng": 12.57497805966099,
"settlements": [
"København Ø",
"Hf. Fremtiden",
"Hf. Øbro",
"Hf. Blomsten",
"Hf. Venners Lyst",
"Hf. Borgervænget",
"København Ø",
"Hf. Aldersro",
"Hf. Lersøg.Integra.",
"Hf. 4. Maj 1921"
],
"postalCode": "2100",
"municipalities": [
"København",
"København",
"København",
"København",
"København",
"København",
"Gentofte",
"København",
"København",
"København"
],
"province": [
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen",
"Copenhagen"
],
"region": [
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark",
"Capital Region Denmark"
]
}
]
Réponses d'erreur
401: Not authenticated
404: No results found