hafas-client
Version:
Client for HAFAS public transport APIs.
21 lines (12 loc) • 606 B
Markdown
[*Verkehrsverbund Rhein-Neckar (VRN)*](https://en.wikipedia.org/wiki/Verkehrsverbund_Rhein-Neckar) is a public transport network in south-west Germany. This profile adds *VRN*-specific customizations to `hafas-client`.
```js
import {createClient} from 'hafas-client'
import {profile as vrnProfile} from 'hafas-client/p/vrn/index.js'
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
// create a client with VRN profile
const client = createClient(vrnProfile, userAgent)
```
- parses *VRN*-specific products