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

19 lines
761 B
Markdown
Raw Permalink Normal View History

2018-03-14 14:54:08 +01:00
# NAH.SH profile for `hafas-client`
[*Nahverkehrsverbund Schleswig-Holstein (NAH.SH)*](https://de.wikipedia.org/wiki/Nahverkehrsverbund_Schleswig-Holstein) is the transportation authority for regional transport in [Schleswig-Holstein](https://en.wikipedia.org/wiki/Schleswig-Holstein). This profile adds *NAH.SH*-specific customizations to `hafas-client`. Consider using [`nahsh-hafas`](https://github.com/juliuste/nahsh-hafas), to always get the customized client right away.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {nahshProfile} from 'hafas-client/p/nahsh/index.js'
2018-03-14 14:54:08 +01:00
// create a client with NAH.SH profile
2018-07-28 14:55:14 +02:00
const client = createClient(nahshProfile, 'my-awesome-program')
2018-03-14 14:54:08 +01:00
```
## Customisations
- parses *NAH.SH*-specific products