mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
16 lines
518 B
Markdown
16 lines
518 B
Markdown
|
# Salzburg profile for `hafas-client`
|
||
|
|
||
|
The government of [Salzburg](https://en.wikipedia.org/wiki/Salzburg) operates a [public transport planner](https://verkehrsauskunft.salzburg.gv.at). This profile adds support for it to `hafas-client`.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const createClient = require('hafas-client')
|
||
|
const salzburgProfile = require('hafas-client/p/salzburg')
|
||
|
|
||
|
// create a client with Salzburg profile
|
||
|
const client = createClient(salzburgProfile, 'my-awesome-program')
|
||
|
```
|
||
|
|
||
|
Check out the [code examples](example.js).
|