Methods
-
isFeedSupported() → {boolean}
-
Description
Check if this Agency supports a real-time Station Feed
Returns
Details
-
loadFeed( db, origin, callback )
-
Description
Load the real-time Station Feed for the specified Station
Parameters
Name Type Description dbRightTrackDB The Right Track DB used to query GTFS data from
originStop The Origin Stop
callbackfunction Callback function
Name Type Description errorError Station Feed Error. The Error's message will be a pipe (|) separated string in the format of: Error Code|Error Type|Error Message that will be parsed out by the Right Track API Server into a more specific error Response.
feedStationFeed The built StationFeed for the Stop
Details