Skip to content

An interface that retrieves incoming trains for MBTA subway stations

Notifications You must be signed in to change notification settings

s-karki/MBTALive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Specifically, it obtains trains for the Red, Orange, and Blue Lines. The interface uses a Station class to obtain station attributes from the RealTimeHeavyRailKeys.csv file.

The next_trains method returns a list of incoming trains. Each element in the list contains information about the train, in the order of: Line, Direction, Type (Predicted to Arrive or Arriving), Time of Arrival, Time Until Arrival.

About

An interface that retrieves incoming trains for MBTA subway stations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages