1. Zuhause
  2. Informationen zur Entwickler-API
  3. Standortbestimmung Niederlande Parameter

Standortbestimmung Niederlande Parameter

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

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

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

Erforderliche Parameter

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

Optionale Parameter

  • postalCode (string): The 4PP(e.g: 1000), 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
  • searchRange (integer): The range to search, in meters. Maximum 100000.
  • 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. For trial purposes, a range of postcodes is allowed with any subscription level: 1000..1098, 1100..1108 (Amsterdam), 3000..3089 (Rotterdam), 5600..5658 (Eindhoven).

Autorisierung

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

Verfügbare Länder

Niederlande

Suchen Sie unsere v1 API?

v1-Dokumentation