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

16 lines
558 B
Markdown
Raw Normal View History

2021-01-14 23:34:48 +01:00
# AVV profile for `hafas-client`
[*Aachener Verkehrsverbund (AVV)*](https://de.wikipedia.org/wiki/Aachener_Verkehrsverbund) is the local transport provider of [Aachen](https://en.wikipedia.org/wiki/Aachen). This profile adds *AVV* support to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as avvProfile} from 'hafas-client/p/avv/index.js'
2021-01-14 23:34:48 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2021-01-14 23:34:48 +01:00
// create a client with AVV profile
const client = createClient(avvProfile, userAgent)
2021-01-14 23:34:48 +01:00
```