mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
19 lines
736 B
Markdown
19 lines
736 B
Markdown
|
# 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
|
||
|
const createClient = require('hafas-client')
|
||
|
const nahshProfile = require('hafas-client/p/nahsh')
|
||
|
|
||
|
// create a client with NAH.SH profile
|
||
|
const client = createClient(nahshProfile)
|
||
|
```
|
||
|
|
||
|
|
||
|
## Customisations
|
||
|
|
||
|
- parses *NAH.SH*-specific products
|