db-vendo-client/p/tpg
2022-11-17 15:17:01 +01:00
..
base.json add TPG profile 📝 2021-07-28 22:45:43 +02:00
example.js add TPG profile 📝 2021-07-28 22:45:43 +02:00
index.js departures{GetPasslist,StbFltrEquiv}: default to false 💥 2022-11-17 15:17:01 +01:00
readme.md add TPG profile 📝 2021-07-28 22:45:43 +02:00

TPG profile for hafas-client

Transports publics genevois (TPG) is the local transport provider of the Canton of Geneva. This profile adds TPG support to hafas-client.

Usage

const createClient = require('hafas-client')
const tpgProfile = require('hafas-client/p/TPG')

// create a client with TPG profile
const client = createClient(tpgProfile, 'my-awesome-program')

Check out the code examples.