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

17 lines
663 B
Markdown
Raw Normal View History

2020-02-06 16:25:21 +01:00
# VSN profile for `hafas-client`
[*Verkehrsverbund Süd-Niedersachsen (VSN)*](https://de.wikipedia.org/wiki/Verkehrsverbund_S%C3%BCd-Niedersachsen) is the local transport provider south [Lower Saxony](https://en.wikipedia.org/wiki/Lower_Saxony). This profile adds *VSN*-specific customizations to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as vsnProfile} from 'hafas-client/p/vsn/index.js'
2020-02-06 16:25:21 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2020-02-06 16:25:21 +01:00
// create a client with VSN profile
const client = createClient(vsnProfile, userAgent)
2020-02-06 16:25:21 +01:00
```
## Customisations
- parses *VSN*-specific products