BritishTrainsDepartureBoard

GitHub Repo stars License GitHub commit activity GitHub last commit GitHub issues

A pygame program that immitates the dot matrix departure screens found at National Rail stations, using the RealTime Trains API.

Setup

  • Sign up for an account on RealTime Trains
  • Clone the repository, and run the python script:

    $ git clone https://github.com/Explorer017/BritishTrainsDepartureBoard.git
    $ python ./main.py
    
  • Now, in the newly created auth.py, replace <username> and <password with your RealTime Trains auth credentials

Usage

Run the Python Script:

python ./main.py

Then, type in a 3 letter station CRS code (for example: KGX for London Kings Cross)

Type in a station code: KGX

This should open a window with the departure board!

Licence

See the LICENCE file

GitHub

View Github