Awesome
mav
Client for the Magyar Államvasutak (MÁV, Hungarian State Railways) REST API. Unofficial, please ask MÁV for permission before using this module in production.
Installation
npm install --save mav
Usage
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
See also
- build-mav-gtfs - Generate MÁV GTFS using this module
Contributing
If you found a bug or want to propose a feature, feel free to visit the issues page.