2021-08-05 20:07:28 +02:00
# 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
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
2022-11-22 21:08:08 +01:00
import {profile as salzburgProfile} from 'hafas-client/p/salzburg/index.js'
2021-08-05 20:07:28 +02:00
2023-03-14 20:32:50 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2021-08-05 20:07:28 +02:00
// create a client with Salzburg profile
2023-03-14 20:32:50 +01:00
const client = createClient(salzburgProfile, userAgent)
2021-08-05 20:07:28 +02:00
```
Check out the [code examples ](example.js ).