new StationFeed( stop, updated, departures )

Description

Station Feed

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

To access this Class directly:

const core = require('right-track-core');
			const SF = core.classes.StationFeed;
			const StationFeed = SF.StationFeed;
			
Parameters
Name Type Description
stop Stop

Origin Stop

updated DateTime

Last Updated

departures Array.<StationFeedDeparture>

List of Departures

Members


stop :Stop

Description

The Origin Stop of the Station Feed


updated :DateTime

Description

The Date/Time of when the data was last updated


departures :Array.<StationFeedDeparture>

Description

List of Station Feed Departures for this Station Feed