db-vendo-client/p/oebb
2021-12-02 13:57:03 +01:00
..
base.json re-upgrade profiles, adapt feature flags, adapt tests 2021-05-01 10:58:45 +02:00
example.js update profile examples 📝 2021-05-01 10:58:45 +02:00
index.js ÖBB: enable lines() 2021-12-02 13:57:03 +01:00
products.js ÖBB: improve onCall product name 2020-06-10 14:59:20 +02:00
readme.md link to FPTF v2 draft spec 📝 2021-08-18 16:00:16 +02:00

ÖBB profile for hafas-client

Österreichische Bundesbahnen (ÖBB) is the largest Austrian long-distance public transport company. This profile adds ÖBB-specific customizations to hafas-client. Consider using oebb-hafas, to always get the customized client right away.

Usage

const createClient = require('hafas-client')
const oebbProfile = require('hafas-client/p/oebb')

// create a client with ÖBB profile
const client = createClient(oebbProfile, 'my-awesome-program')

Customisations

  • parses ÖBB-specific products (such as RailJet)
  • parses invalid empty stations from the API as locations