1. Startpagina
  2. Ontwikkelaar API informatie
  3. Locatiezoeker Luxemburg Parameters

Locatiezoeker Luxemburg Parameters

Return near postcodes from a postcode or lat/lng combination.

Opmerking: Dit is de documentatie voor de v2 API die nog in beta is.

Given a postcode or lat/lng combination and your own list of postcodes returns the postcodes ordered from near to far.

Vereiste parameters

  • targetPostalCodes (array): An array of 4PPs(e.g: [1000, 1011, 1012])

Optionele parameters

  • postalCode (string): The Postcode(e.g: 1110), if both postalCode and lat/lng combination is given the lat/lng from the postalCode will be used.
  • latitude (number): The latitude
  • longitude (number): The longitude
  • orderBy (string): The order in which to return the results: distance (default) **input (keeps the input ordering) **postalcode (order by the postalcode) ** not yet supported
  • maxResults (integer): The amount of results returned, a number between 0 and 999.
  • algorithm (string): algorithm: Choose an algorithm. road to calculate the actual traveling distance and time over actual roads, or straight to obtain the distance in a straight line. Any subscription allows access to the straight line distance, however the road algorithm uses the drive time matrix (shortest route) that requires a ’development agency’ or higher subscription level when used through the API.

Autorisatie

authKey: This is the Authorization key. You have to add it as a GET parameter. Your auth key can be found on the CMS.

Beschikbare landen

Luxemburg

Op zoek naar onze v1 API documentatie?

v1 Documentatie