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

20 lines
654 B
Markdown
Raw Normal View History

2020-03-02 23:16:45 +01:00
# VMT profile for `hafas-client`
[*Verkehrsverbund Mittelthüringen (VMT)*](https://en.wikipedia.org/wiki/Verkehrsverbund_Mittelthüringen) is a major local transport authority in [Thuringia](https://en.wikipedia.org/wiki/Thuringia). This profile adds *VMT*-specific customizations to `hafas-client`.
## Usage
```js
2022-05-07 16:17:37 +02:00
import {createClient} from 'hafas-client'
import {profile as vmtProfile} from 'hafas-client/p/vmt/index.js'
2020-03-02 23:16:45 +01:00
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
2020-03-02 23:16:45 +01:00
// create a client with VMT profile
const client = createClient(vmtProfile, userAgent)
2020-03-02 23:16:45 +01:00
```
## Customisations
- parses *VMT*-specific products