Skip to content

Latest commit

 

History

History

salzburg

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Salzburg profile for hafas-client

The government of Salzburg operates a public transport planner. This profile adds support for it to hafas-client.

Usage

import {createClient} from 'hafas-client'
import {profile as salzburgProfile} from 'hafas-client/p/salzburg/index.js'

const userAgent = 'link-to-your-project-or-email' // adapt this to your project!

// create a client with Salzburg profile
const client = createClient(salzburgProfile, userAgent)

Check out the code examples.