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

21 lines
635 B
Markdown
Raw Permalink Normal View History

2020-03-23 00:36:54 +01:00
# SVV profile for `hafas-client`
[*Salzburger Verkehrsverbund (SVV)*](https://de.wikipedia.org/wiki/Salzburger_Verkehrsverbund) is the local transit authority of [Salzburg](https://en.wikipedia.org/wiki/Salzburg). This profile adds *SVV*-specific customizations to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as svvProfile} from 'hafas-client/p/svv/index.js'
2020-03-23 00:36:54 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2020-03-23 00:36:54 +01:00
// create a client with SVV profile
const client = createClient(svvProfile, userAgent)
2020-03-23 00:36:54 +01:00
```
## Customisations
- parses *SVV*-specific products