Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.15 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.15 KB

RailDisplay

Library for displaying UK train times

This library is designed for displaying UK train times on a raspberry pi with a Display-O-Tron 3000

Prerequisite

Do NOT run any of the below commands if you are not sure what they do, especially piping curl requests to bash. These are the instructions provided on the external projects sites.

Install Python 2 (The dot3k lib is not compatible with Python 3 at the time of writing)

Install pip

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

Install the nre-darwin package

# May be needed
sudo easy_install -U setuptools
sudo pip install nre-darwin-py

Install the dot3k lib (If using Display-O-Tron)

curl get.pimoroni.com/dot3k | bash

Get your API Key

You can get an API Key from the NRE Developer Site

Examples

Please see example.py for an example of usage

Other

Data powered by National Rail Enquiries