mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
18 lines
529 B
Markdown
18 lines
529 B
Markdown
# PKP profile for `hafas-client`
|
|
|
|
[*Polskie Koleje Państwowe (PKP)*](https://en.wikipedia.org/wiki/Polish_State_Railways) is the major national transport provider in Poland. This profile adds *PKP*-specific customizations to `hafas-client`.
|
|
|
|
## Usage
|
|
|
|
```js
|
|
import {createClient} from 'hafas-client'
|
|
import {pkpProfile} from 'hafas-client/p/pkp/index.js'
|
|
|
|
// create a client with PKP profile
|
|
const client = createClient(pkpProfile, 'my-awesome-program')
|
|
```
|
|
|
|
|
|
## Customisations
|
|
|
|
- parses *PKP*-specific products (such as *TLK*)
|