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

16 lines
574 B
Markdown
Raw Normal View History

2020-07-20 17:35:32 +02:00
# 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
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as zvvProfile} from 'hafas-client/p/zvv/index.js'
2020-07-20 17:35:32 +02:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2020-07-20 17:35:32 +02:00
// create a client with ZVV profile
const client = createClient(zvvProfile, userAgent)
2020-07-20 17:35:32 +02:00
```