Live Transit API/API/routes/:id

Show info about a single route.

Resource
 GET http://rideonrealtime.net/routes/:id.format 

Response Formats: json, xml.

Example Requests
 GET http://rideonrealtime.net/routes/1393.json  {   "route_id": "1393", "agency_id": "MCRO", "route_short_name": "402", "route_long_name": "T2", "route_desc": "Route T2 operates Monday-Sunday - This is a Metrobus route - Ride On operates this route on Saturday and Sunday", "route_type": "3", "route_url": "http://www.montgomerycountymd.gov/content/dot/transit/routesandschedules/allroutes/routet2.asp", "route_color": "C0C0C0", "route_text_color": "FFFFFF", "uri": "/routes/1393", "trips": [ {           "trip_id": "163319", "trip_headsign": "818", "trip_short_name": "163319", "shape_id": "163319", "service_id": "163319", "direction_id": "163319", "start_time": "163319", "end_time": "163319", "first_stop_name": "163319", "last_stop_name": "163319", "uri": "/trips/163319", "schedules": [ {                   "start_date": "2010-09-05", "end_date": "2012-05-01", "day_type": 0 },                {                    "start_date": "2010-09-06", "end_date": "2010-09-06", "day_type": 1 },               ...snip... ],            "stop_times": [ {                   "arrival_time": "19:45:00", "departure_time": "19:45:00", "stop_sequence": 62, "stop": { "stop_name": "FRIENDSHIP HEIGHTS STATION & BAY C", "stop_code": "2696", "stop_id": "2696", "uri": "/stops/2696" }               },                 {                    "arrival_time": "19:44:24", "departure_time": "19:44:24", "stop_sequence": 61, "stop": { "stop_name": "WILLARD AVE & THE HILLS PLAZA", "stop_code": "7244", "stop_id": "7244", "uri": "/stops/7244" }               },                 {                    "arrival_time": "19:44:06", "departure_time": "19:44:06", "stop_sequence": 60, "stop": { "stop_name": "WILLARD AVE & FRIENDSHIP BLVD", "stop_code": "7242", "stop_id": "7242", "uri": "/stops/7242" }               },                 ...snip... ]       },         ...snip... ],    "shapes": [ {           "shape_id": "4740", "type": "LineString", "coordinates": [ [                   -77.085326,                     38.961644                ],                 [                    -77.085021,                     38.961898                ],                 [                    -77.085117,                     38.961937                ],                 ...snip... ]       }    ] }

 GET http://rideonrealtime.net/routes/1307.xml   1307 MCRO 8 Route 8 Route 8 operates Monday-Saturday 3 http://www.montgomerycountymd.gov/content/dot/transit/routesandschedules/allroutes/route008.asp 800080</route_color> <route_text_color>FFFFFF</route_text_color> <trips type='array'> <trip uri='/trips/164147'> <route uri='/routes/1307'> 1307</route_id> <trip_id>164147</trip_id> <trip_headsign>86</trip_headsign> <trip_short_name></trip_short_name> <shape_id>4478</shape_id> <service_id>6</service_id> <direction_id>1</direction_id> <start_time>19:13:00</start_time> <end_time>19:42:00</end_time> <first_stop_name>WHEATON STATION &amp; BAY J</first_stop_name> <last_stop_name>SILVER SPRING STATION</last_stop_name> <schedules type='array'> <start_date>2010-11-11</start_date> <end_date>2010-11-11</end_date> <day_type type='integer'>4</day_type> <start_date>2011-01-17</start_date> <end_date>2011-01-17</end_date> <day_type type='integer'>1</day_type> <start_date>2011-02-21</start_date> <end_date>2011-02-21</end_date> <day_type type='integer'>1</day_type> <stop_times type='array'> <stop_time> <arrival_time>19:42:00</arrival_time> <departure_time>19:42:00</departure_time> <stop_sequence type='integer'>48</stop_sequence> <stop uri='/stops/17129'> <stop_name>SILVER SPRING STATION</stop_name> <stop_id>17129</stop_id> <stop_code>17129</stop_code> </stop_time> <stop_time> <arrival_time>19:39:57</arrival_time> <departure_time>19:39:57</departure_time> <stop_sequence type='integer'>47</stop_sequence> <stop uri='/stops/1156'> <stop_name>COLESVILLE RD &amp; FENTON ST</stop_name> <stop_id>1156</stop_id> <stop_code>1156</stop_code> </stop_time> ...snip... </stop_times> ...snip... <shapes type='array'> <shape-id>4475</shape-id> LineString -77.027984          38.993975           -77.027951           38.993413           -77.027709           38.993394     ...snip...