Skip to content

Instantly share code, notes, and snippets.

@shushugah
Created July 8, 2014 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shushugah/736a1dbe5ed5e4845a17 to your computer and use it in GitHub Desktop.
Save shushugah/736a1dbe5ed5e4845a17 to your computer and use it in GitHub Desktop.
JSONified version of MTA Status Service XML file
{
"service": {
"responsecode": "0",
"timestamp": "7/8/2014 5:21:01 PM",
"subway": {
"line": [
{
"name": "123",
"status": "GOOD SERVICE"
},
{
"name": "456",
"status": "DELAYS",
"text": "
<span class=\"TitleDelay\">Delays</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 4:00PM
</span><br/><br/>
<P>Due to signal problems at <STRONG>Grand Central-42 St</STRONG>, southbound [6] trains are running with delays. </P>
<P>Allow additional travel time.</P>
<br/><br/>
",
"Date": "07/08/2014",
"Time": " 4:00PM"
},
{
"name": "7",
"status": "GOOD SERVICE"
},
{
"name": "ACE",
"status": "DELAYS",
"text": "
<span class=\"TitleDelay\">Delays</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 5:10PM
</span><br/><br/>
<P>Due to track maintenance between <STRONG>Jackson Hts-Roosevelt Av</STRONG> and <STRONG>36 St</STRONG> (QNS), the following service changes are in effect:</P>
<P>[E] and [F] trains are running with delays in both directions.</P>
<P>Some northbound [F] trains terminate at <STRONG>Jay St-MetroTech</STRONG> or <STRONG>W 4 St-Washington Square</STRONG>.</P>
<P>Allow additional travel time.</P>
<P>Â </P>
<br/><br/>
",
"Date": "07/08/2014",
"Time": " 5:10PM"
},
{
"name": "BDFM",
"status": "DELAYS",
"text": "
<span class=\"TitleDelay\">Delays</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 5:10PM
</span><br/><br/>
<P>Due to track maintenance between <STRONG>Jackson Hts-Roosevelt Av</STRONG> and <STRONG>36 St</STRONG> (QNS), the following service changes are in effect:</P>
<P>[E] and [F] trains are running with delays in both directions.</P>
<P>Some northbound [F] trains terminate at <STRONG>Jay St-MetroTech</STRONG> or <STRONG>W 4 St-Washington Square</STRONG>.</P>
<P>Allow additional travel time.</P>
<P>Â </P>
<br/><br/>
",
"Date": "07/08/2014",
"Time": " 5:10PM"
},
{
"name": "G",
"status": "GOOD SERVICE"
},
{
"name": "JZ",
"status": "GOOD SERVICE"
},
{
"name": "L",
"status": "GOOD SERVICE"
},
{
"name": "NQR",
"status": "SERVICE CHANGE",
"text": "
<span class=\"TitleServiceChange\" >Service Change</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 5:19PM
</span><br/><br/>
<P>Due to a rail condition at <STRONG>Lexington Av-59 St</STRONG>, the following service changes are in effect:</P>
<P>There is no [N] and [Q] train service between <STRONG>57 St-7 Av</STRONG> and <STRONG>Astoria-Ditmars Blvd</STRONG> in both directions.</P>
<P>[R] trains are running on the [F] line from <STRONG>57 St-7Av</STRONG> to <STRONG>36 St</STRONG> (QNS) in both directions.</P>
<P>Allow additional travel time.</P>
<br/><br/>
<span class=\"TitleServiceChange\" >Sandy Reroute</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 4:00PM
</span><br/><br/>
<STRONG>[FF]<BR>[R] No trains between Whitehall St and Downtown Brooklyn - Take the [N] instead<BR>Transfer between [N] and [R] trains at Canal St and Atlantic Av-Barclays Ctr</STRONG><BR>Weekdays until Oct 2014
<br/><br/>
",
"Date": "07/08/2014",
"Time": " 5:19PM"
},
{
"name": "S",
"status": "GOOD SERVICE"
},
{
"name": "SIR",
"status": "GOOD SERVICE"
}
]
},
"bus": {
"line": [
{
"name": "B1 - B84",
"status": "SERVICE CHANGE",
"text": "
<span class=\"TitleServiceChange\" >Service Change</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 4:02PM
</span>
<br/>
<br/>
<P><STRONG>B11</STRONG> buses are detoured, due to paving on Avenue I between Ocean Pkwy and McDonald Av. </P>
<P>Detour is as follows:</P>
<P><STRONG>Eastbound</STRONG>: Via Avenue I, left on McDonald Av, right on Foster Av, right on Ocean Pkwy, left on Avenue I and regular route.</P>
<P><STRONG>Westbound</STRONG>: Via Avenue I, right on Ocean Pkwy, left on Foster Av into 18 Av and regular route.</P>
<P>Allow additional travel time.</P>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74792);>
<b>B69, B70, Q59 and X27 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74792 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74791);>
<b>B61, B62, B63, B65 and B67 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74791 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75984);>
<b>B60 - Northbound buses bypass stop on Rockaway Av at E New York Av
</a><br/><br/><div id= 75984 class=\"plannedWorkDetail\" ></b>Until further notice
<br>
<br>Please use nearby stop on Rockaway Av at Eastern Pkwy.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74716);>
<b>B52 buses rerouted from Nostrand Av at Gates Av
</a><br/><br/><div id= 74716 class=\"plannedWorkDetail\" ></b>All times until further notice
<br>
<br>Due to construction:
<br>
<br><b>Eastbound</b>: Buses run via Quincy St.
<br>
<br><b>Westbound</b>: Buses run via Monroe St.
<br>
<br>Buses make corresponding stops along the detoured routes.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74789);>
<b>B46/B46 </b>LTD<b>, B48 and B57 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74789 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74788);>
<b>B43, B44/B44 </b>SBS<b> and B45 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74788 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74787);>
<b>B35/B35</b> LTD<b> and B41/B41 </b>LTD<b> buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74787 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74785);>
<b>B14, B15, B16, B17 and B25 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74785 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
",
"Date": "07/08/2014",
"Time": " 4:02PM"
},
{
"name": "B100 - B103",
"status": "GOOD SERVICE"
},
{
"name": "BM1 - BM5",
"status": "GOOD SERVICE"
},
{
"name": "BX1 - BX55",
"status": "PLANNED WORK",
"text": "
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(70906);>
<b>Bx10 - Southbound buses rerouted at Goulden Av between Sedgwick Av and W 205 St
</a><br/><br/><div id= 70906 class=\"plannedWorkDetail\" ></b>Until Oct 2014
<br>
<br>Due to construction, buses run via<b> Paul Av</b> making corresponding stops.
<br><b>
<br></div></b><br/>
<br/>
<br/>
",
"Date": "07/08/2014",
"Time": " 5:13PM"
},
{
"name": "BXM1 - BXM18",
"status": "GOOD SERVICE"
},
{
"name": "M1 - M116",
"status": "PLANNED WORK",
"text": "
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(69967);>
<b>M86 - Temporary bus stop change on W 86 St at Broadway
</a><br/><br/><div id= 69967 class=\"plannedWorkDetail\" ></b>Until further notice
<br>
<br>Due to construction:
<br>
<br><b>Eastbound</b>: The new first stop is <b>on W 87 St </b>at West End Av.
<br>
<br><b>Westbound</b>: The last stop is <b>on W 86 St </b>between Broadway and Amsterdam Av.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(69002);>
<b>M4 - Temporary bus stop closure on Fort Washington Av between 178 St and 179 St
</a><br/><br/><div id= 69002 class=\"plannedWorkDetail\" ></b>Until late Spring 2015
<br>
<br>Due to <a href=http://www.panynj.gov/bus-terminals/gwbbs-renovation.html target=_blank><font color=#0000FF><b><u>construction</u></b></font></a>, please board buses <b>on</b> <b>Fort Washington Av</b> at 177 St in both directions.
<br><b>
<br></div></b><br/>
<br/>
<br/>
",
"Date": "07/08/2014",
"Time": " 5:13PM"
},
{
"name": "Q1 - Q113",
"status": "PLANNED WORK",
"text": "
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(68484);>
<b>Q69 - Southbound bus stop on 28 St between Queens Plz South and 42 Rd temporarily relocated
</a><br/><br/><div id= 68484 class=\"plannedWorkDetail\" ></b>Until further notice
<br>
<br>Due to construction, please use the temporary stop <b>on 42 Rd</b> between Jackson Av and 28 St.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(70201);>
<b>Q55 - Westbound temporary bus stop closure on Myrtle Av at Fresh Pond Rd
</a><br/><br/><div id= 70201 class=\"plannedWorkDetail\" ></b>Until further notice
<br>
<br>Due to<i> </i>construction, please use the<b> Myrtle Av</b> at 62 St<b> </b>bus stop.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75372);>
<b>Q13 and Q16 buses detoured at Fort Totten - No stops missed
</a><br/><br/><div id= 75372 class=\"plannedWorkDetail\" ></b>Until further notice
<br>
<br>Due to road work, the first/last stop will be made <b>on 212 St</b> at Bell Blvd.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74792);>
<b>B69, B70, Q59 and X27 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74792 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
",
"Date": "07/08/2014",
"Time": " 5:13PM"
},
{
"name": "QM1 - QM25",
"status": "GOOD SERVICE"
},
{
"name": "S40 - S98",
"status": "DELAYS",
"text": "
<span class=\"TitleDelay\">Delays</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 4:03PM
</span>
<br/>
<br/>
<P><STRONG>X1, X2, X3, X4, X6, X7, X8, X9, X10, X11, X12, X14, X15, X17, X19, X31, X42, S52, S53, S54, S78</STRONG> and <STRONG>S93</STRONG> buses are running with delays in both directions due to today's wake services for FDNY Lieutenant Ambelas. </P>
<P>Allow additional travel time.</P>
<br/>
<br/>
<span class=\"TitleServiceChange\" >Service Change</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 4:01PM
</span>
<br/>
<br/>
<P><STRONG>S53</STRONG> buses are detoured, due to construction on Broadway at Delafield Av. </P>
<P>Detour is as follows:</P>
<P><STRONG>Port Richmond-bound</STRONG>: Via Broadway, right on Forest Av, left on Bement Av, left on Castleton Av and regular route.</P>
<P>Allow additional travel time.</P>
<br/>
<br/>
",
"Date": "07/08/2014",
"Time": " 4:03PM"
},
{
"name": "x1 - x68",
"status": "DELAYS",
"text": "
<span class=\"TitleDelay\">Delays</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 4:03PM
</span>
<br/>
<br/>
<P><STRONG>X1, X2, X3, X4, X6, X7, X8, X9, X10, X11, X12, X14, X15, X17, X19, X31, X42, S52, S53, S54, S78</STRONG> and <STRONG>S93</STRONG> buses are running with delays in both directions due to today's wake services for FDNY Lieutenant Ambelas. </P>
<P>Allow additional travel time.</P>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75555);>
<b>X3 and X4 - Southbound bus stop on Broadway at Cortlandt St temporarily relocated
</a><br/><br/><div id= 75555 class=\"plannedWorkDetail\" ></b>All times until Dec 20
<br>
<br>Due to construction, please follow directional signage to the nearby temporary stop <b>on Broadway </b>at Cedar St.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74793);>
<b>X28/X38 and X37 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74793 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, Mon to Fri, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75564);>
<b>X12 - Southbound bus stop on Liberty St at Cortlandt St temporarily relocated
</a><br/><br/><div id= 75564 class=\"plannedWorkDetail\" ></b>All times until Dec 20
<br>
<br>Due to construction, please follow directional signage to the nearby temporary stop <b>on Broadway</b> at Thames St.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75560);>
<b>X11 - Southbound bus stop on Broadway at Cortlandt St temporarily relocated
</a><br/><br/><div id= 75560 class=\"plannedWorkDetail\" ></b>All times until Dec 20
<br>
<br>Due to construction, please follow directional signage to the nearby temporary stop <b>on Broadway</b> at Dey St.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75557);>
<b>X10 - Southbound bus stop on Broadway at Cortlandt St temporarily relocated
</a><br/><br/><div id= 75557 class=\"plannedWorkDetail\" ></b>All times until Dec 20
<br>
<br>Due to construction, please follow directional signage to the nearby temporary stop<b> on Broadway</b> at Dey St.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75550);>
<b>X1 - Southbound bus stop on Broadway at Cortlandt St temporarily relocated
</a><br/><br/><div id= 75550 class=\"plannedWorkDetail\" ></b>All times until Dec 20
<br>
<br>Due to construction, please follow directional signage to the nearby stop <b>on Broadway </b>at Cedar St.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(75540);>
<b>X1, X17A/C and X19 - Southbound bus stop on Broadway at Rector St temporarily relocated
</a><br/><br/><div id= 75540 class=\"plannedWorkDetail\" ></b>All times until Dec 20
<br>
<br>Due to construction, please follow directional signage to the nearby temporary stops <b>on Broadway</b> at Liberty St (X1) and at Thames St (X17A/C).
<br>
<br><b>Note</b>: X17A buses do no operate on weekends.
<br><b>
<br></div></b><br/>
<br/>
<br/>
<span class=\"TitlePlannedWork\" >Planned Detour</span>
<br/>
<a class=\"plannedWorkDetailLink\" onclick=ShowHide(74792);>
<b>B69, B70, Q59 and X27 buses experiencing delays due to construction on Gowanus Expwy
</a><br/><br/><div id= 74792 class=\"plannedWorkDetail\" ></b>6 AM to 10 PM, every day, until further notice
<br>
<br>&#149; Please allow additional travel time.
<br></font><b>
<br></div></b><br/>
<br/>
<br/>
",
"Date": "07/08/2014",
"Time": " 4:03PM"
}
]
},
"BT": {
"line": [
{
"name": "Bronx-Whitestone",
"status": "SERVICE CHANGE",
"text": "
<span class=\"TitleServiceChange\" >Service Change</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;05/21/2014&nbsp;11:57AM
</span><br/><br/>
BWB - 6 AM to 3 PM Three (3) Lanes Bronx-bound. Two (2) Lanes Queens-bound. 3 PM to 6 AM Three (3) Lanes Queens-bound. Two (2) Lanes Bronx-bound.
<br/><br/>
",
"Date": "05/21/2014",
"Time": "11:57AM"
},
{
"name": "Cross Bay",
"status": "GOOD SERVICE"
},
{
"name": "Henry Hudson",
"status": "GOOD SERVICE"
},
{
"name": "Hugh L. Carey",
"status": "GOOD SERVICE"
},
{
"name": "Marine Parkway",
"status": "GOOD SERVICE"
},
{
"name": "Queens Midtown",
"status": "GOOD SERVICE"
},
{
"name": "Robert F. Kennedy",
"status": "GOOD SERVICE"
},
{
"name": "Throgs Neck",
"status": "GOOD SERVICE"
},
{
"name": "Verrazano-Narrows",
"status": "GOOD SERVICE"
}
]
},
"LIRR": {
"line": [
{
"name": "Babylon",
"status": "GOOD SERVICE"
},
{
"name": "City Terminal Zone",
"status": "GOOD SERVICE"
},
{
"name": "Far Rockaway",
"status": "GOOD SERVICE"
},
{
"name": "Hempstead",
"status": "GOOD SERVICE"
},
{
"name": "Long Beach",
"status": "SERVICE CHANGE",
"text": "
<span class=\"TitleServiceChange\" >Service Change</span>
<span class=\"DateStyle\">
&nbsp;Posted:&nbsp;07/08/2014&nbsp; 5:01PM
</span><br/><br/>
The 4:29PM train from Long Beach due Atlantic Terminal at 5:19PM will add stops at East New York and Nostrand Avenue to accommodate customers from a delayed Ronkonkoma Branch train.
<br/><br/>
",
"Date": "07/08/2014",
"Time": " 5:01PM"
},
{
"name": "Montauk",
"status": "GOOD SERVICE"
},
{
"name": "Oyster Bay",
"status": "GOOD SERVICE"
},
{
"name": "Port Jefferson",
"status": "GOOD SERVICE"
},
{
"name": "Port Washington",
"status": "GOOD SERVICE"
},
{
"name": "Ronkonkoma",
"status": "GOOD SERVICE"
},
{
"name": "West Hempstead",
"status": "GOOD SERVICE"
}
]
},
"MetroNorth": {
"line": [
{
"name": "Hudson",
"status": "GOOD SERVICE"
},
{
"name": "Harlem",
"status": "GOOD SERVICE"
},
{
"name": "Wassaic",
"status": "GOOD SERVICE"
},
{
"name": "New Haven",
"status": "GOOD SERVICE"
},
{
"name": "New Canaan",
"status": "GOOD SERVICE"
},
{
"name": "Danbury",
"status": "GOOD SERVICE"
},
{
"name": "Waterbury",
"status": "GOOD SERVICE"
},
{
"name": "Pascack Valley",
"status": "GOOD SERVICE"
},
{
"name": "Port Jervis",
"status": "GOOD SERVICE"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment