This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [ | |
{ | |
"search_id": "Arrive to E5 0AA from EC2N 2SF, SE6 4UR and NW1 7ST", | |
"locations": [ | |
{ | |
"id": "EC2N 2SF", | |
"properties": [ | |
{ | |
"travel_time": 1866 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locations": [ | |
{ | |
"id": "E5 0AA", | |
"coords": { | |
"lat": 51.557222, | |
"lng": -0.049167 | |
} | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [ | |
{ | |
"search_id": "backward search example", | |
"locations": [ | |
{ | |
"id": "Hyde Park", | |
"properties": [ | |
{ | |
"travel_time": 1723 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST /v4/time-filter HTTP/1.1 | |
Host: api.traveltimeapp.com | |
Content-Type: application/json | |
Accept: application/json | |
X-Application-Id: ... | |
X-Api-Key: ... | |
{ | |
"locations": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"results": [ | |
{ | |
"search_id": "backward search example", | |
"locations": [ | |
{ | |
"id": "Hyde Park", | |
"properties": [ | |
{ | |
"travel_time": 1723 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request | |
POST /v4/time-filter HTTP/1.1 | |
Host: api.traveltimeapp.com | |
Content-Type: application/json | |
Accept: application/json | |
X-Application-Id: ... | |
X-Api-Key: ... | |
{ | |
"locations": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locations": [ | |
{ | |
"id": "departure point 1", | |
"coords": { | |
"lat": 51.293243675888064, | |
"lng": -0.5409907708702667 | |
} | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locations": [ | |
{ | |
"id": "departure point 1", | |
"coords": { | |
"lat": 51.293243675888064, | |
"lng": -0.5409907708702667 | |
} | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locations": [ | |
{ | |
"id": "Stratford New Town", | |
"coords": { | |
"lat": 51.549430780808144, | |
"lng": 0.0037792150027415876 | |
} | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locations": [ | |
{ | |
"id": "Stratford New Town", | |
"coords": { | |
"lat": 51.549430780808144, | |
"lng": 0.0037792150027415876 | |
} | |
}, | |
{ |