mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
19 lines
574 B
Markdown
19 lines
574 B
Markdown
|
# Irish Rail profile for `hafas-client`
|
||
|
|
||
|
The [*Iarnród Éireann* (Irish Rail)](https://en.wikipedia.org/wiki/Iarnród_Éireann) is the national railway company of Ireland. This profile adds *Iarnród Éireann*-specific customizations to `hafas-client`.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
const createClient = require('hafas-client')
|
||
|
const irishProfile = require('hafas-client/p/irish-rail')
|
||
|
|
||
|
// create a client with Irish Rail profile
|
||
|
const client = createClient(irishProfile, 'my-awesome-program')
|
||
|
```
|
||
|
|
||
|
|
||
|
## Customisations
|
||
|
|
||
|
- parses *Irish Rail*-specific products (such as *LUAS* or *DART*)
|