https://github.com/derhuerst/vbb-lines-at
Which lines run at a VBB station?
https://github.com/derhuerst/vbb-lines-at
berlin bvg transit transport vbb
Last synced: 2 months ago
JSON representation
Which lines run at a VBB station?
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-lines-at
- Owner: derhuerst
- License: isc
- Created: 2016-05-20T17:02:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T20:52:58.000Z (over 1 year ago)
- Last Synced: 2024-12-25T00:30:14.513Z (6 months ago)
- Topics: berlin, bvg, transit, transport, vbb
- Language: JavaScript
- Homepage: https://github.com/derhuerst/vbb-lines-at
- Size: 306 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# vbb-lines-at
**Which lines run at a station?** The data is computed from [open](https://daten.berlin.de/datensaetze/vbb-fahrplandaten-gtfs) [GTFS](https://developers.google.com/transit/gtfs/) [data](https://vbb-gtfs.jannisr.de/).
[](https://www.npmjs.com/package/vbb-lines-at)

[](https://github.com/sponsors/derhuerst)
[](https://twitter.com/derhuerst)## Installing
```shell
npm install vbb-lines-at
```## Usage
```js
require('vbb-lines-at')['900000007103'] // U Voltastr.
```It will return `lines` in the [*Friendly Public Transport Format*](https://github.com/public-transport/friendly-public-transport-format).
```js
[
{
type: 'line',
id: '17525_400',
name: 'U8',
mode: 'train',
product: 'subway'
}, {
type: 'line',
id: '17472_700',
name: 'N8',
mode: 'bus',
product: 'bus'
}, {
type: 'line',
id: '17363_700',
name: '247',
mode: 'bus',
product: 'bus'
}
]
```## Contributing
If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/derhuerst/vbb-lines-at/issues).