Vorschlagen Belgien Siedlung Antworten
Suggest a Belgium address field.
Hinweis: Dies ist die Dokumentation für die v2-API, die sich noch im Beta-Stadium befindet.
GET Beispielanfrage:
https://api.pro6pp.nl/v2/suggest/be/settlement?settlement=Brussel&authKey=YOUR_API_KEY
Diese Anwendung führt zu folgendem Ergebnis:
200: Settlement suggestion(s) available
[
{
"languageCode": "nl",
"lat": 50.86281,
"lng": 4.362,
"municipality": "Brussel",
"municipalityTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"postname": "Brussel",
"province": "Brussel",
"provinceTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"region": "Brussel",
"regionTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"settlement": "Brussel",
"settlementTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
]
}
]
Fehlerreaktionen
401: Not authenticated
404: No results found