vbb-station-operators

1.5.0 • Public • Published

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.

Package Sidebar

Install

npm i vbb-station-operators

Weekly Downloads

2

Version

1.5.0

License

ISC

Unpacked Size

10.8 kB

Total Files

5

Last publish

Collaborators

  • derhuerst