Terminal application using HSL's open GTFS APIs to parse route data for specified stops to allow querying for upcoming departures.
This project is meant as a testing ground to create logic for node.js endpoints supplying data to a public transport timetable display.
git clone https://github.com/Jokauppi/hsl-gtfs-departures-parser.git
cd hsl-gtfs-departures-parser
npm install
npm start
Included stops are specified in config.ts. Different GTFS URLs may also be specified but CSV parsing may fail if column indexes don't match.
Application assumes unzipped GTFS data is placed in ./data
directory.