Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derhuerst/db-prices-cli
Check prices for a DB route.
https://github.com/derhuerst/db-prices-cli
api deutsche-bahn transit transport
Last synced: 5 days ago
JSON representation
Check prices for a DB route.
- Host: GitHub
- URL: https://github.com/derhuerst/db-prices-cli
- Owner: derhuerst
- License: isc
- Created: 2016-08-15T20:40:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-21T23:14:12.000Z (about 3 years ago)
- Last Synced: 2024-10-03T23:54:45.985Z (about 1 month ago)
- Topics: api, deutsche-bahn, transit, transport
- Language: JavaScript
- Homepage: https://github.com/derhuerst/db-prices-cli
- Size: 23.4 KB
- Stars: 12
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# *db-prices-cli* ⏱
**Check prices for a DB route.**
[![asciicast](https://asciinema.org/a/82885.png)](https://asciinema.org/a/82885)
[![npm version](https://img.shields.io/npm/v/db-prices-cli.svg)](https://www.npmjs.com/package/db-prices-cli)
![ISC-licensed](https://img.shields.io/github/license/derhuerst/db-prices-cli.svg)
![minimum Node.js version](https://img.shields.io/node/v/db-prices-cli.svg)
[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)
[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)## Installing
```shell
npm install -g db-prices-cli
```## Usage
```
Usage: db-prices [from] [to] [options]Arguments:
from Station number (e.g. 8011160).
to Station number (e.g. 8000261).Options:
--days -d The number of days to show. Default: 7
```## Contributing
If you have a question or need support using `db-prices-cli`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use [the issues page](https://github.com/derhuerst/db-prices-cli/issues).