Route Details Resource - TransitData/api GitHub Wiki
Direction and stop details for a particular route in the specified region.
Fetch (/v1/routes/:region/:route)
Request
GET http://api.transitdata.io/v1/routes/twin_cities/4
Response
200 OK
{
"id": "4",
"description": "4 - New Brighton - Johnson St - Bryant Av - Southtown",
"directions": [
{
"id": "4",
"description": "Northbound",
"stops": [
{
"id": "82ST",
"description": "82nd St and I-35W"
},
...
]
},
{
"id": "1",
"description": "Southbound",
"stops": [
{
"id": "O81A",
"description": "1st Ave NW and Old Hwy 8"
},
...
]
}
]
}