db-vendo-client/p/sbahn-muenchen/readme.md

14 lines
506 B
Markdown
Raw Permalink Normal View History

2018-09-07 19:56:05 +02:00
# S-Bahn München profile for `hafas-client`
[*S-Bahn München*](https://en.wikipedia.org/wiki/Munich_S-Bahn) runs commuter trains in [Munich](https://en.wikipedia.org/wiki/Munich). This profile adapts `hafas-client` to their HAFAS endpoint.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as sMuenchenProfile} from 'hafas-client/p/sbahn-muenchen/index.js'
2018-09-07 19:56:05 +02:00
// create a client with S-Bahn München profile
2018-09-18 19:56:03 +02:00
const client = createClient(sMuenchenProfile, 'my-awesome-program')
2018-09-07 19:56:05 +02:00
```