Multi-target Reachability

Measure travel-time to many targets
curl --compressed -X POST \
  'https://api.targomo.com/westcentraleurope/v1/time?key=__targomo_key_here__' \
  -H 'Content-Type: application/json' \
  -d '{
  "edgeWeight": "time",
  "maxEdgeWeight": "1800",
  "sources": [
    {
      "id": "Source1",
      "lat": 52.5494892,
      "lng": 13.42883045,
      "tm": {
        "car": {}
      }
    }
  ],
  "targets": [
    {
      "id": "Home1",
      "lat": 52.5322,
      "lng": 13.5045
    },
    {
      "id": "Home2",
      "lat": 52.5308,
      "lng": 13.5066
    }
  ]
}'
content_copy
Copied to clipboard