mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
14 lines
489 B
Markdown
14 lines
489 B
Markdown
|
# ZVV profile for `hafas-client`
|
||
|
|
||
|
[*Zürcher Verkehrsverbund (ZVV)*](https://en.wikipedia.org/wiki/Zürcher_Verkehrsverbund) is the local transport system of [Zürich](https://en.wikipedia.org/wiki/Zürich). This profile adds *ZVV*-specific customizations to `hafas-client`.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const createClient = require('hafas-client')
|
||
|
const zvvProfile = require('hafas-client/p/zvv')
|
||
|
|
||
|
// create a client with ZVV profile
|
||
|
const client = createClient(zvvProfile, 'my-awesome-program')
|
||
|
```
|