mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
13 lines
471 B
Markdown
13 lines
471 B
Markdown
# VVT profile for `hafas-client`
|
|
|
|
[*Verkehrsverbund Tirol (VVT)*](https://de.wikipedia.org/wiki/Verkehrsverbund_Tirol) is the regional transport provider of [Tyrol](https://en.wikipedia.org/wiki/Tyrol). This profile adds *VVT* support to `hafas-client`.
|
|
|
|
## Usage
|
|
|
|
```js
|
|
import {createClient} from 'hafas-client'
|
|
import {vvtProfile} from 'hafas-client/p/vvt/index.js'
|
|
|
|
// create a client with VVT profile
|
|
const client = createClient(vvtProfile, 'my-awesome-program')
|
|
```
|