GET rtstoparrivals
Returns arrival times scheduled for stops in the system.
Resource URL
http://api.rgrta.com/rtstoparrivals
Parameters
stopid
optional
|
Specifies the stop ID.
Example Value: 2035 |
stopname
optional
|
Specifies the stop name.
Example Value: Lake & Mapelwood |
routeid
optional |
Specifies the route ID.
Example Value: 1 |
routename
optional |
Specifies the name of the route.
Example Value: 1 - Lake |
date
optional
|
The date to find arrivals for in yyyymmdd format.
Example Value: 20150320 |
Response Object
RTStopArrivals
Example Request
GET - http://api.rgrta.com/rtstoparrivals?stopid=2035
[
{
"StopID":2035,
"StopName":"Lake & Maplewood",
"Lat":"43.202169",
"Lon":"-77.6281",
"RouteID":1,
"RouteName":"1 - Lake",
"Direction":"Inbound",
"Time":"3/20/2015 5:11:00 AM",
"RunDate":"3/20/2015 12:00:00 AM",
"Destination":"1 Lake to Transit Center"
}
]