mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-10-30 15:46:32 +02:00
|
|
||
|---|---|---|
| .. | ||
| base.json | ||
| example.js | ||
| index.js | ||
| readme.md | ||
VVV profile for hafas-client
Verkehrsverbund Vorarlberg (VVV) is the local transport provider of Vorarlberg that runs its apps under the VMOBIL brand. This profile adds VVV/VMOBIL support to hafas-client.
Usage
import {createClient} from 'hafas-client'
import {profile as vvvProfile} from 'hafas-client/p/vvv/index.js'
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
// create a client with VVV profile
const client = createClient(vvvProfile, userAgent)
Check out the code examples.