meinfernbus
JavaScript client for the Flixbus/Meinfernbus API. Complies with the friendly public transport format. Inofficial, using endpoints by Flixbus/MFB. Ask them for permission before using this module in production.
Installation
npm install meinfernbus
Usage
const mfb =
This package contains data in the Friendly Public Transport Format.
stations([opt])
to get a list of operated stations such asBerlin central bus station
orFrankfurt Hbf
.regions([opt])
to get a list of all operated regions (cities) such asBerlin
orFrankfurt
.journeys(origin, destination, date, [opt])
to get routes between regions (cities) or stations (default: regions).
Similar Projects
- search-meinfernbus-locations - "Search for Flixbus/MeinFernbus cities & stations."
- db-meinfernbus-cities – "Get all DB stations located in the same city as the given Meinfernbus location, and vice versa."
- db-hafas - "JavaScript client for the DB Hafas API."
- db-stations - "A list of DB stations."
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.