HERE

HERE Technologies enables people, enterprises and cities around the world to harness the power of location and create innovative solutions that make our lives safer and more efficient. We transform information from devices, vehicles, infrastructure and...

Posted on:

2018-08-28

API Paths

Avoid Transit Routes Involving Transfers (GET) *Request a direct public transit route excluding changes and transfers* Public transit routes can be requested using the `metarouter/rest/routeservice/v2/route.json` endpoint. The `changes `parameter is used to indicate the number of changes or transfers desired. * **startX** `number` \- The longitude of the start point of your journey. e.g. `13.377` * **startY** `number` \- The latitude of the start point of your journey. e.g. `52.515` * **destX** `number` \- The longitude of the destination point of your journey. e.g. `13.377` * **destY** `number` \- The latitude of the destination point of your journey. e.g. `52.515` * **time** `text` \- Time in format `yyyy-mm-ddThh:mm:ss`. * **app_id** `text` \- A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. You must include an app_code and app_code with every request. * **app_code** `text` \- A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. You must include an app_code and app_code with every request. * **routing** `enum` \- Type of routing response required. tt: time-table routing, i.e. route response will show scheduled arrival/departure times of the transit at the stations. sr: simple (or estimated) routing, i.e. route response will only show the transit journey but without scheduled arrival/departure times. all: for both estimated and time-table routing. Default: tt Valid values are : `tt`, `sr`, `all` * **changes** `enum` \- Maximum number of changes or transfers. Valid values: 0-6 or -1. Default: -1 (any number of transfers permitted). >**NOTE:** In areas where this parameter is not supported the route response will show an attribute `sup_changes=0` in the `Connections` node. Valid values are : `-1`, `0`, `1`, `2`, `3`, `4`, `5`, `6`


Return to Main Page

Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.