mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
15 lines
619 B
Markdown
15 lines
619 B
Markdown
# STV profile for `hafas-client`
|
|
|
|
[*Steirischer Verkehrsverbund (STV)*](https://de.wikipedia.org/wiki/Steirischer_Verkehrsverbund) is the local transport provider of [Styria](https://en.wikipedia.org/wiki/Styria) that runs its apps under the [*VerbundLinie*](https://www.verbundlinie.at) brand. This profile adds *STV*/*VerbundLinie* support to `hafas-client`.
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const createClient = require('hafas-client')
|
|
const stvProfile = require('hafas-client/p/stv')
|
|
|
|
// create a client with STV profile
|
|
const client = createClient(stvProfile, 'my-awesome-program')
|
|
```
|
|
|
|
Check out the [code examples](example.js).
|