Suggestion Belgique Rue Réponses
Suggest a Belgium address field.
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/be/street?settlement=Brussel&authKey=YOUR_API_KEY
Cette application donne le résultat suivant:
200: street suggestion(s) available
[
{
"languageCode": "nl",
"lat": 50.85316,
"lng": 4.35446,
"municipality": "Brussel",
"municipalityTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"postalCode": "1000",
"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": "Bruidsstraat",
"streetTranslations": [
{
"lang": "nl",
"name": "Bruidsstraat"
},
{
"lang": "fr",
"name": "Rue de la Fiancée"
}
]
}
]
Réponses d'erreur
401: Not authenticated
404: No results found