mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
19 lines
576 B
Markdown
19 lines
576 B
Markdown
|
# NVV profile for `hafas-client`
|
||
|
|
||
|
[*Nordhessischer Verkehrsverbund (NVV)*](https://en.wikipedia.org/wiki/Nordhessischer_Verkehrsverbund) is a local transport association in [Hesse](https://en.wikipedia.org/wiki/Hesse). This profile adds *NVV*-specific customizations to `hafas-client`.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const createClient = require('hafas-client')
|
||
|
const nvvProfile = require('hafas-client/p/nvv')
|
||
|
|
||
|
// create a client with NVV profile
|
||
|
const client = createClient(nvvProfile, 'my-awesome-program')
|
||
|
```
|
||
|
|
||
|
|
||
|
## Customisations
|
||
|
|
||
|
- parses *NVV*-specific products (such as *RegioTram*)
|