1. Zuhause
  2. Informationen zur Entwickler-API
  3. Autovervollständigen Belgien Antworten

Autovervollständigen Belgien Antworten

Autocomplete a Belgium address.

Hinweis: Dies ist die Dokumentation für die v2-API, die sich noch im Beta-Stadium befindet.

GET Beispielanfrage:

https://api.pro6pp.nl/v2/autocomplete/be?authKey=YOUR_AUTH_KEY&postalCode=9000&street=Lavendelstraat&streetNumber=5

Diese Anwendung führt zu folgendem Ergebnis:

200: Location found
{
  "country": "Belgium",
  "countryCode": "BE",
  "countryTranslations": [
    {
      "lang": "en",
      "name": "Belgium"
    },
    {
      "lang": "nl",
      "name": "België"
    },
    {
      "lang": "fr",
      "name": "Belgique"
    },
    {
      "lang": "de",
      "name": "Belgien"
    }
  ],
  "lat": 50.84534,
  "lng": 4.34108,
  "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": "Anderlechtsesteenweg",
  "streetNumber": 144,
  "streetTranslations": [
    {
      "lang": "nl",
      "name": "Anderlechtsesteenweg"
    },
    {
      "lang": "fr",
      "name": "Rue d'Anderlecht"
    }
  ]
}

Fehlerreaktionen

401: Not authenticated
404: No results found