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.
npm install meinfernbus
const mfb = require('meinfernbus')
This package contains data in the Friendly Public Transport Format. Please note that this package doesn't fully comply to the current 'stable' version of FPTF since it already includes the proposed region
type.
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).
- 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."
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.