Skip to content

Latest commit

 

History

History
 
 

sbahn-muenchen

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

S-Bahn München profile for hafas-client

S-Bahn München runs commuter trains in Munich. This profile adapts hafas-client to their HAFAS endpoint.

Usage

import {createClient} from 'hafas-client'
import {profile as sMuenchenProfile} from 'hafas-client/p/sbahn-muenchen/index.js'

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

// create a client with S-Bahn München profile
const client = createClient(sMuenchenProfile, userAgent)