Foreslå Belgien Gadenummer Svar på spørgsmål
Suggest a Belgium address field.
Bemærk: Dette er dokumentationen for v2-API'en, som stadig er i beta.
GET Eksempel på anmodning:
https://api.pro6pp.nl/v2/suggest/be/streetNumber?street=Anderlechtsesteenweg&settlement=Brussel&streetNumber=144&authKey=YOUR_API_KEY
Denne applikation giver følgende resultat:
200: streetnumber suggestion(s) available
[
{
"lat": 50.84534,
"lng": 4.34108,
"municipality": "Brussel",
"municipalityTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"postalCode": "1000",
"premiseRequired": false,
"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"
}
],
"street": "Anderlechtsesteenweg",
"streetNumber": 144,
"streetTranslations": [
{
"lang": "nl",
"name": "Anderlechtsesteenweg"
},
{
"lang": "fr",
"name": "Rue d'Anderlecht"
}
]
}
]
Svar på fejl
401: Not authenticated
404: No results found