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

21 lines
655 B
Markdown
Raw Permalink Normal View History

# Saarfahrplan/VGS profile for `hafas-client`
2018-12-28 15:52:29 +01:00
*Saarfahrplan* is the public transport information system in [Saarland](https://en.wikipedia.org/wiki/Saarland). This profile adds *Saarfahrplan*-specific customizations to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as saarfahrplanProfile} from 'hafas-client/p/saarfahrplan/index.js'
2018-12-28 15:52:29 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2018-12-28 15:52:29 +01:00
// create a client with Saarfahrplan profile
const client = createClient(saarfahrplanProfile, userAgent)
2018-12-28 15:52:29 +01:00
```
## Customisations
- parses *Saarfahrplan*-specific products (such as *Saarbahn*)