db-vendo-client/p/bls
Jannis R 24c2cc6ea4
add BLS profile 📝
part of #208
2021-07-26 17:45:09 +02:00
..
base.json add BLS profile 📝 2021-07-26 17:45:09 +02:00
example.js add BLS profile 📝 2021-07-26 17:45:09 +02:00
index.js add BLS profile 📝 2021-07-26 17:45:09 +02:00
readme.md add BLS profile 📝 2021-07-26 17:45:09 +02:00

BLS profile for hafas-client

BLS AG is the local transport provider of the Canton of Bern. This profile adds BLS support to hafas-client.

Usage

const createClient = require('hafas-client')
const blsProfile = require('hafas-client/p/BLS')

// create a client with BLS profile
const client = createClient(blsProfile, 'my-awesome-program')

Check out the code examples.