mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
15 lines
549 B
Markdown
15 lines
549 B
Markdown
# IVB profile for `hafas-client`
|
|
|
|
[*Innsbrucker Verkehrsbetriebe (IVB)*](https://de.wikipedia.org/wiki/Innsbrucker_Verkehrsbetriebe_und_Stubaitalbahn) is the local transport provider of [Innsbruck](https://en.wikipedia.org/wiki/Innsbruck). This profile adds *IVB* support to `hafas-client`.
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const createClient = require('hafas-client')
|
|
const ivbProfile = require('hafas-client/p/ivb')
|
|
|
|
// create a client with IVB profile
|
|
const client = createClient(ivbProfile, 'my-awesome-program')
|
|
```
|
|
|
|
Check out the [code examples](example.js).
|