Skip to content

API endpoints

Emil Haugberg edited this page Jun 27, 2019 · 1 revision

/districts

Returns geoJSON containing the districts in Amsterdam

/getIncidents

Returns JSON containing current incident information.

Example output:

[{
  "id":"TTL116118694080113",
  "p":{"x":4.7931752,"y":52.3193375},
  "op":{"x":4.7930458,"y":52.3210144},
  "ic":6,
  "ty":3,
  "cs":0,
  "d":"stationary traffic",
  "f":"Hugo de Grootstraat",
  "t":"Schiphol",
  "l":257,
  "dl":313
}]

Clone this wiki locally