https://github.com/derhuerst/vbb-stations-cli
Find and filter VBB stations from the command line.
https://github.com/derhuerst/vbb-stations-cli
berlin bvg cli transit transport vbb
Last synced: 2 months ago
JSON representation
Find and filter VBB stations from the command line.
- Host: GitHub
- URL: https://github.com/derhuerst/vbb-stations-cli
- Owner: derhuerst
- License: isc
- Created: 2016-03-30T23:47:23.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-12T21:01:57.000Z (almost 4 years ago)
- Last Synced: 2025-03-28T16:21:21.995Z (3 months ago)
- Topics: berlin, bvg, cli, transit, transport, vbb
- Language: JavaScript
- Homepage: https://github.com/derhuerst/vbb-stations-cli
- Size: 35.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# *vbb-stations-cli*
**Find and filter VBB stations from the command line.** Computed from [open](http://daten.berlin.de/datensaetze/vbb-fahrplandaten-januar-2017-bis-dezember-2017) [GTFS](https://developers.google.com/transit/gtfs/) [data](https://vbb-gtfs.jannisr.de/).
[](https://asciinema.org/a/82500)
[](https://www.npmjs.com/package/vbb-stations-cli)
[](https://travis-ci.org/derhuerst/vbb-stations-cli)

[](https://gitter.im/derhuerst/vbb-rest)
[](https://patreon.com/derhuerst)## Installing
```shell
npm install -g vbb-stations-cli
```## Usage
```
Usage:
vbb-stations [options] [filters]Options:
--id Filter by id.
--name Filter by name.
--latitude Filter by latitude.
--longitude Filter by longitude.
--weight Filter by weight.
--format One of csv,ndjson,pretty,json. Default: pretty
--columns ,,… Default is id,coords,weight,name,lines.Filters:
Each filter must be an `Array.prototype.filter`-compatible funtion.Examples:
vbb-stations
vbb-stations --name "berliner strasse"
vbb-stations --id 9003104 --columns id,name,lines
vbb-stations "(s) => s.latitude > 52" "(s) => s.latitude > 12"
```## 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-stations-cli/issues).