Skip to content

derhuerst/vbb-station-operators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vbb-station-operators

Which operator services a Berlin public transport station? Thanks to @poldixd for providing the data!

npm version build status ISC-licensed chat on gitter support me on Patreon

Installing

npm install vbb-station-operators

Usage

const operatedBy = require('vbb-station-operators')

console.log(operatedBy['900000023302']) // U Adenauerplatz
console.log(operatedBy['900000110003']) // S Greifswalder Str.
[{
	id: '796',
	name: 'Berliner Verkehrsbetriebe',
	url: 'http://www.bvg.de',
	timezone: 'Europe/Berlin',
	language: 'de',
	phone: null
}]
[{
	id: '1',
	name: 'S-Bahn Berlin GmbH',
	url: 'http://www.s-bahn-berlin.de',
	timezone: 'Europe/Berlin',
	language: 'de',
	phone: null
}]

Contributing

If you have a question or have difficulties using vbb-station-operators, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.