Skip to content

Parses HSL GTFS and GTFS-RT public transit data for querying upcoming departures for specified stops

Notifications You must be signed in to change notification settings

Jokauppi/hsl-gtfs-departures-parser

Repository files navigation

HSL GTFS & GTFS-RT Departures Parser

Terminal application using HSL's open GTFS APIs to parse route data for specified stops to allow querying for upcoming departures.

image

This project is meant as a testing ground to create logic for node.js endpoints supplying data to a public transport timetable display.

Installation & Usage

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.

About

Parses HSL GTFS and GTFS-RT public transit data for querying upcoming departures for specified stops

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published