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

21 lines
661 B
Markdown
Raw Permalink Normal View History

2019-03-29 15:40:12 +01:00
# 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
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as nvvProfile} from 'hafas-client/p/nvv/index.js'
2019-03-29 15:40:12 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2019-03-29 15:40:12 +01:00
// create a client with NVV profile
const client = createClient(nvvProfile, userAgent)
2019-03-29 15:40:12 +01:00
```
## Customisations
- parses *NVV*-specific products (such as *RegioTram*)