Skip to content

Instantly share code, notes, and snippets.

@TravelTime-Frontend
Created February 21, 2023 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TravelTime-Frontend/67d3dca9f150b85323f2c56a84a8a7d0 to your computer and use it in GitHub Desktop.
Save TravelTime-Frontend/67d3dca9f150b85323f2c56a84a8a7d0 to your computer and use it in GitHub Desktop.
POST /v4/time-map HTTP/1.1
Host: api.traveltimeapp.com
Content-Type: application/json
Accept: application/json
X-Application-Id: ...
X-Api-Key: ...
{
"departure_searches": [
{
"id": "first_location",
"coords": {
"lat": 38.897957,
"lng": -77.036560
},
"transportation": {
"type": "public_transport"
},
"departure_time": "2018-07-04T09:00:00-0500",
"travel_time": 900
}
],
"arrival_searches": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment