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

18 lines
656 B
Markdown
Raw Permalink Normal View History

2021-08-05 19:32:41 +02:00
# OÖVV profile for `hafas-client`
[*Oberösterreichischer Verkehrsverbund (OÖVV)*](https://de.wikipedia.org/wiki/Oberösterreichischer_Verkehrsverbund) is the local transport provider of [Upper Austria](https://en.wikipedia.org/wiki/Upper_Austria). This profile adds *OÖVV* support to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as ooevvProfile} from 'hafas-client/p/ooevv/index.js'
2021-08-05 19:32:41 +02:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2021-08-05 19:32:41 +02:00
// create a client with OÖVV profile
const client = createClient(ooevvProfile, userAgent)
2021-08-05 19:32:41 +02:00
```
Check out the [code examples](example.js).