SUMMARIZED / REFORMATTED FROM http://www.opendataphilly.org/opendata/resource/158/sms-transit/
Base URL: http://www3.septa.org/sms/
Parameters:
- var1 = stop id
- var2 = route id OR i/o for inbound/outbound
- var3 = i/o for inbound/outbound only if route id is supplied.
Stops fall into one of three categories:
- Stops with service provided by only one route, stop is not the first or last stop and all travel is in a single direction:
- http://www3.septa.org/sms/321 Returns the next 4 scheduled trolleys (All Rte 13) at Chester Ave & 49th St.
- Stops with service provided by multiple routes, but all travel is in one direction:
- http://www3.septa.org/sms/20645 Returns the next 4 scheduled trolleys at 22nd St. Station, note the results shows trolleys regardless or route.
- http://www3.septa.org/sms/20645/13 Returns information on a single route, for a multi-route, uni-directional stop.
- Stops with travel in multi-directions. This is usually end points, like the trolley loop at Juniper and they may or may not have multiple routes.
-
http://www3.septa.org/sms/283 Returns the next 2 inbound and 2 outbound times for all routes.
-
http://www3.septa.org/sms/283/13 Returns the next 2 inbound and 2 outbound times for only route 13.
-
http://www3.septa.org/sms/283/o Returns the next 4 outbound times for all routes.
-
http://www3.septa.org/sms/283/13/o Returns the next 4 outbound times for only route 13