Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/vbb-station-operators
Which operator services a Berlin public transport station?
https://github.com/derhuerst/vbb-station-operators
berlin bvg public-transport transit vbb
Last synced: 3 days ago
JSON representation
Which operator services a Berlin public transport station?
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-station-operators
- Owner: derhuerst
- License: isc
- Created: 2017-06-21T14:26:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-31T10:25:36.000Z (over 5 years ago)
- Last Synced: 2024-12-09T18:02:56.364Z (24 days ago)
- Topics: berlin, bvg, public-transport, transit, vbb
- Language: JavaScript
- Homepage: https://github.com/derhuerst/vbb-station-operators
- Size: 15.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# vbb-station-operators
**Which operator services a Berlin public transport station?** Thanks to @poldixd for [providing the data](https://github.com/poldixd/vbb-stations)!
[![npm version](https://img.shields.io/npm/v/vbb-station-operators.svg)](https://www.npmjs.com/package/vbb-station-operators)
[![build status](https://img.shields.io/travis/derhuerst/vbb-station-operators.svg)](https://travis-ci.org/derhuerst/vbb-station-operators)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-station-operators.svg)
[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](https://patreon.com/derhuerst)## Installing
```shell
npm install vbb-station-operators
```## Usage
```js
const operatedBy = require('vbb-station-operators')console.log(operatedBy['900000023302']) // U Adenauerplatz
console.log(operatedBy['900000110003']) // S Greifswalder Str.
``````js
[{
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](https://github.com/derhuerst/vbb-station-operators/issues).