2018-04-12 22:14:30 +02:00
# Rejseplanen profile for `hafas-client`
[*Rejseplanen* ](https://da.wikipedia.org/wiki/Rejseplanen ) is a Danish website for finding public transport connections throughout Denmark. This profile adds *Rejseplanen* -specific customisations 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 rejseplanenProfile} from 'hafas-client/p/rejseplanen/index.js'
2018-04-12 22:14:30 +02:00
2023-03-14 20:32:50 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2018-04-12 22:14:30 +02:00
// create a client with Rejseplanen profile
2023-03-14 20:32:50 +01:00
const client = createClient(rejseplanenProfile, userAgent)
2018-04-12 22:14:30 +02:00
```
## Customisations
- parses Denmark-specific products (such as *S-Tog* )