Skip to content

MarkPaulin/trainwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trainwatch

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:

  • db name of the SQLite database to write to (default is trains-db.sqlite)
  • watch number of days (default is a day)

There's also a SQL file for setting up tables.

About

Collecting NI Railways live train data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages