mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
14 lines
473 B
Markdown
14 lines
473 B
Markdown
|
# 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
|
||
|
const createClient = require('hafas-client')
|
||
|
const avvProfile = require('hafas-client/p/AVV')
|
||
|
|
||
|
// create a client with AVV profile
|
||
|
const client = createClient(avvProfile, 'my-awesome-program')
|
||
|
```
|