Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.1 KB

readme.md

File metadata and controls

21 lines (15 loc) · 1.1 KB

DB Busradar NRW profile for hafas-client

DB Busradar NRW is a mobile application used in North Rhine-Westphalia. It shows realtime locations and arrival/departure information for vehicles operated by bus companies which are part of DB Regio Bus in NRW, namely:

This profile adapts hafas-client to the HAFAS endpoint used by the application.

Usage

import {createClient} from 'hafas-client'
import {profile as dbbusradarnrwProfile} from 'hafas-client/p/db-busradar-nrw/index.js'

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

// create a client with DB Busradar NRW profile
const client = createClient(dbbusradarnrwProfile, userAgent)