Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

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.