Tiny program for pulling data from Translink NI Railways Open Data API and popping it into a database.
Build main.exe with go build main.go stationBoard.go stationList.go. It takes two command line flags:
dbname of the SQLite database to write to (default istrains-db.sqlite)watchnumber of days (default is a day)
There's also a SQL file for setting up tables.