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

21 lines
606 B
Markdown
Raw Normal View History

2020-11-26 13:54:16 +01:00
# VRN profile for `hafas-client`
[*Verkehrsverbund Rhein-Neckar (VRN)*](https://en.wikipedia.org/wiki/Verkehrsverbund_Rhein-Neckar) is a public transport network in south-west Germany. This profile adds *VRN*-specific customizations to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as vrnProfile} from 'hafas-client/p/vrn/index.js'
2020-11-26 13:54:16 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2020-11-26 13:54:16 +01:00
// create a client with VRN profile
const client = createClient(vrnProfile, userAgent)
2020-11-26 13:54:16 +01:00
```
## Customisations
- parses *VRN*-specific products