A public HTTP REST API, exposing a clean interface to query the Meinfernbus/FlixBus API. Complies with the friendly public transport format. Inofficial, using endpoints by Flixbus/MFB. Ask them for permission before using this endpoint in production.
The public endpoint is available at https://1.flixbus.transport.rest
.
Output from search-meinfernbus-locations
(regions only).
query
: Required. Search query
curl 'https://1.flixbus.transport.rest/regions/?query=Frankfurt'
List of all operated regions, output from require('meinfernbus').regions
.
curl 'https://1.flixbus.transport.rest/regions/all'
Output from search-meinfernbus-locations
(stations only).
query
: Required. Search query
curl 'https://1.flixbus.transport.rest/stations/?query=Frankfurt'
List of all operated stations, output from require('meinfernbus').stations
.
curl 'https://1.flixbus.transport.rest/stations/all'
Output from require('meinfernbus').journeys
origin
: Region id ororigin.id
: Region/station id andorigin.type
: Region/station - Required.destination
: Region id ordestination.id
: Region/station id anddestination.type
: Region/station - Required.date
: When? UNIX timestamp orJS
-parsable date string. Default: now.adults
: Number of adults. Default: 1children
: Number of children. Default: 0bikes
: Number of bikes. Default: 0
curl 'https://1.flixbus.transport.rest/journeys/?origin=88&destination=1394&date=2018-04-13T10:30:00'
- meinfernbus โ Meinfernbus/FlixBus API client
- search-meinfernbus-locations โ Meinfernbus location search
- db-hafas - Deutsche Bahn (DB) API client
- db-prices - Deutsche Bahn (DB) Sparpreise API client
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.