Saisie automatique Pays-Bas Réponses
Autocomplete a Dutch 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/autocomplete/nl?authKey=YOUR_AUTH_KEY&postalCode=1068NM&streetNumberAndPremise=461
Cette application donne le résultat suivant:
200: Location found
{
"BAGNumberId": "0363200000045826 ",
"BAGPremiseId": "0363100012178453 ",
"BAGPublicSpaceId": "0363300000002919 ",
"BAGResidenceId": "0363010000583267 ",
"BAGType": "vbo",
"constructionYear": 1790,
"country": "Netherlands",
"countryCode": "NL",
"district": "Burgwallen-Oude Zijde",
"lat": 52.37197,
"lng": 4.89776,
"municipality": "Amsterdam",
"neighbourhood": "Burgwallen-Oost",
"postalCode": "1012BZ",
"province": "Noord-Holland",
"purposes": [
"overige gebruiksfunctie"
],
"settlement": "Amsterdam",
"street": "Bethaniënstraat",
"streetNumber": 1,
"surfaceArea": 42
}
Réponses d'erreur
401: Not authenticated
404: No results found
Appels d'API disponibles
Autocomplete