StationFeed

StationFeed

Station Feed

A real-time feed of status information of departures from a single Stop.

To access this Class directly:

const SF = require('right-track-agency/src/StationFeed');
const StationFeed = SF.StationFeed;

Constructor

new StationFeed(stop, updated, departures)

Source:

Station Feed Constructor

Parameters:
Name Type Description
stop Stop

Origin Stop

updated DateTime

Last Updated

departures Array.<StationFeedDeparture>

List of Departures

Members

departures :Array.<StationFeedDeparture>

Source:

List of Station Feed Departures for this Station Feed

Type:

stop :Stop

Source:

The Origin Stop of the Station Feed

Type:
  • Stop

updated :DateTime

Source:

The Date/Time of when the data was last updated

Type:
  • DateTime