mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
19 lines
569 B
Markdown
19 lines
569 B
Markdown
|
# HVV profile for `hafas-client`
|
||
|
|
||
|
[*Hamburger Verkehrsverbund (HVV)*](https://en.wikipedia.org/wiki/Hamburger_Verkehrsverbund) is the major local transport provider in [Hamburg](https://en.wikipedia.org/wiki/Hamburg). This profile adds *HVV*-specific customizations to `hafas-client`.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const createClient = require('hafas-client')
|
||
|
const hvvProfile = require('hafas-client/p/hvv')
|
||
|
|
||
|
// create a client with HVV profile
|
||
|
const client = createClient(hvvProfile, 'my-awesome-program')
|
||
|
```
|
||
|
|
||
|
|
||
|
## Customisations
|
||
|
|
||
|
- parses *HVV*-specific products (such as *AKN*)
|