db-vendo-client/p/vbn/readme.md

21 lines
698 B
Markdown
Raw Permalink Normal View History

2020-03-03 02:36:26 +01:00
# VBN profile for `hafas-client`
The [*Verkehrsverbund Bremen/Niedersachsen (VBN)*](https://de.wikipedia.org/wiki/Verkehrsverbund_Bremen/Niedersachsen) is a public transportation provider for [Lower Saxony](https://en.wikipedia.org/wiki/Lower_Saxony). This profile adds *VBN*-specific customizations to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as vbnProfile} from 'hafas-client/p/vbn/index.js'
2020-03-03 02:36:26 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2020-03-03 02:36:26 +01:00
// create a client with VBN profile
const client = createClient(vbnProfile, userAgent)
2020-03-03 02:36:26 +01:00
```
## Customisations
- parses *VBN*-specific products (such as *Anrufverkehr*)