latestSwagger 2.02026-08-10201771.8 KB

e0575f41ded3

Real Time Data

Regional Rail Station Arrivals & Departures

Returns a list/queue of trains to arrive at a station in two/both directions. The direction is demarcated as either Northbound or Southbound. The direction are obviously not geographical references, but rather a reference to the old Reading and Pennsy Railroads. The key to understanding the directio n is by using Suburban Station as a starting point: Any trains that move eastbound towards Market East are all considered Northbound; trains going from suburban t o 30th St are all Southbound. The path field describes more accurately the path of travel along various branches. Every regional stop is a valid parameter.Please refer to the <a href='/VIRegionalRail.html'>Regional Rail Inputs</a> page to see all valid inputs

get/Arrivals/index.php

Query parameters

stationstring required

Valid Regional Rail station name

resultsinteger

Number of results to show

direction'N' | 'S'

Northbound(N) or Southbound Trains(S)

Response

success