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

16 lines
553 B
Markdown
Raw Permalink Normal View History

2021-01-15 00:58:07 +01:00
# 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
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as vvtProfile} from 'hafas-client/p/vvt/index.js'
2021-01-15 00:58:07 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2021-01-15 00:58:07 +01:00
// create a client with VVT profile
const client = createClient(vvtProfile, userAgent)
2021-01-15 00:58:07 +01:00
```