Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-12T21:01:57.000Z (over 3 years ago)
- Last Synced: 2024-10-03T23:54:51.658Z (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/).
[![asciicast](https://asciinema.org/a/82500.png)](https://asciinema.org/a/82500)
[![npm version](https://img.shields.io/npm/v/vbb-stations-cli.svg)](https://www.npmjs.com/package/vbb-stations-cli)
[![build status](https://img.shields.io/travis/derhuerst/vbb-stations-cli.svg)](https://travis-ci.org/derhuerst/vbb-stations-cli)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/vbb-stations-cli.svg)
[![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)](https://gitter.im/derhuerst/vbb-rest)
[![support me on Patreon](https://img.shields.io/badge/support%20me-on%20patreon-fa7664.svg)](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).