1. Startpagina
  2. Ontwikkelaar API informatie
  3. Afstand (rechte lijn) CH

Afstand (rechte lijn) CH

Return driving distance and time between two Swiss postcodes.

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

GET Voorbeeld request:

https://api.pro6pp.nl/v2/distance/ch?authKey=YOUR_AUTH_KEY&fromPostalCode=1012&toPostalCode=1011&algorithm=road

Deze aanvraag geeft het volgende resultaat:

200: address available
{
  "distance": 1426
}

Fout Antwoorden

401: Not authenticated
404: No results found

Beschikbare landen

Zwitserland

Op zoek naar onze v1 API documentatie?

v1 Documentatie