mav
v0.0.0
Published
Magyar Államvasutak (MÁV, Hungarian State Railways) API client.
Downloads
17
Maintainers
Readme
mav
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.
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, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.