Client for the Magyar Államvasutak (MÁV, Hungarian State Railways) REST API. Inofficial, please ask MÁV for permission before using this module in production.
npm install --save mav
This package mostly returns data in the Friendly Public Transport Format:
stations()
- List of operated stationsdepartures(station, date = new Date())
- Departures at a given stationtrains(trainId)
- Schedule for a given trainjourneys(origin, destination, date = new Date())
- Journeys between stations
- build-mav-gtfs - Generate MÁV GTFS using this module
If you found a bug or want to propose a feature, feel free to visit the issues page.