Awesome
db-prices-radar
Collect and store Deutsche Bahn price information for a set of important routes.
Usage
You need to have node.js 8 or higher installed.
git clone https://github.com/juliuste/db-prices-radar.git
cd db-prices-radar
Adapt config/default.json5
to your needs, and then run
node index.js > data.json
to fetch price data for the routes specified in config/default.json5
to data.json
. Please note that the tool itself doesn't fetch the data repeatedly on some interval, you need to do that yourself (e.g. by using a cronjob 😄).
Similar Projects
- bahn.guru - DB price calendar
- db-prices - JavaScript client for the DB Sparpreise API.
- db-hafas - JavaScript client for the DB Hafas API.
Contributing
If you found a bug or want to propose a feature, feel free to visit the issues page.