Downloads
Mirrors finalrewind Chaosdorf GitHub
See Also CPAN GitHub Issues Docker Image
dbris-m is a commandline client and Perl module for bahn.de public transit interfaces. It can show the arrivals/departures at a specific public transit stop, give details on individual journeys, and look up stops by name or geo coordinates. It supports text and JSON output.
Example Output
> dbris-m 'Bochum Hbf'
06:39 ( +7) ICE 843 Berlin Hbf 5
06:39 ( +7) ICE 853 Berlin Hbf 5
06:51 (+19) S 1 Essen Hbf 7
06:37 ( +1) ICE 527 München Hbf 3
Zug fährt abweichend mit nur einem Zugteil. Die Wagen 31 - 39 entfallen.
06:38 ( +2) Bus 353 Kirchharpener Str., Bochum
06:37 Bus 356 Ruhr-Universität, Bochum
06:38 STR 302 O-Werk, Bochum
06:38 STR 318 Vonovia Ruhrstadion, Bochum
06:39 STR 302 Buer Rathaus, Gelsenkirchen
06:47 ( +7) RE 6 Minden(Westf) 5
Travel::Status::DE::DBRIS v0.15
Travel-Status-DE-DBRIS-0.15.tar.gz (signature)
- DBRIS: Add optional
failure_cachekey tonew/new_p. This causes the module to cache failed requests, thus decreasing the risk of running into rate limits when, e.g., requesting carriage formation data that is not available upstream. - Formation::Group: Update carriage name list (patch by Lili Chelsea Urban)
Travel::Status::DE::DBRIS v0.14
Travel-Status-DE-DBRIS-0.14.tar.gz (signature)
- dbris-m: Do not break
--json/--raw-jsonif the requested stop name is not an exact match - Location: Set
is_additionalfor additional stops based on text remarks
Travel::Status::DE::DBRIS v0.13
Travel-Status-DE-DBRIS-0.13.tar.gz (signature)
- Formation::Group: Update carriage name list (patch by Lili Chelsea Urban)
- Formation::Carriage: Handle undefined start/end markers
Travel::Status::DE::DBRIS v0.12
Travel-Status-DE-DBRIS-0.12.tar.gz (signature)
- dbris-m: Fix --(raw-)json for carriage formation requests
- Formation::Group: Update carriage name list (patch by Lili Chelsea Urban)
- Formation::Group: Update carriage model list (patch by Lili Chelsea Urban)
- Formation::Group: Correctly identify LINT 27 and RS 1 trains
Travel::Status::DE::DBRIS v0.11
Travel-Status-DE-DBRIS-0.11.tar.gz (signature)
- Journey: Fix
type/train_nohandling when they are not separated by whitespace (Patch by Cassidy Dingenskirchen)
Travel::Status::DE::DBRIS v0.10
Travel-Status-DE-DBRIS-0.10.tar.gz (signature)
- Journey: Add
train_no,line_noaccessors
Travel::Status::DE::DBRIS v0.09
Travel-Status-DE-DBRIS-0.09.tar.gz (signature)
- dbris-m: Handle departures with undefined destination
- Location: Handle negative coordinate values
Travel::Status::DE::DBRIS v0.08
Travel-Status-DE-DBRIS-0.08.tar.gz (signature)
- Journey: Add id accessor
- Journey: Retrieve train/line number from journey ID if it is not provided by the API
Travel::Status::DE::DBRIS v0.07
Travel-Status-DE-DBRIS-0.07.tar.gz (signature)
- New optional recommended module:
GIS::Distance(forJourney->polyline) - Location: Extract lat/lon from location ID, if needed
- Journey: Add polyline accessor; enhance it if
GIS::Distanceis available - Journey: Add type, number accessors
- dbris-m: Add
--with-polylineoption
Travel::Status::DE::DBRIS v0.06
Travel-Status-DE-DBRIS-0.06.tar.gz (signature)
- DBRIS: Fix
new_pconstructor JourneyAtStop->via: return list, not arrayref- dbris-m: support raw station IDs as input
Travel::Status::DE::DBRIS v0.05
Travel-Status-DE-DBRIS-0.05.tar.gz (signature)
- Journey, Location: Add missing conversions to T
O_JSON - dbris-m: Fix --json
Travel::Status::DE::DBRIS v0.04
Travel-Status-DE-DBRIS-0.04.tar.gz (signature)
- Add Travel::Status::DE::DBRIS::Formation and submodules to this distribution (formerly Travel::Status::DE::DBWagenreihung)
- dbris-m: Run "
dbris-m station train_type train_no" to list train details and (if available) carriage formation
Travel::Status::DE::DBRIS v0.02
Travel-Status-DE-DBRIS-0.02.tar.gz (signature)
- dbris-m: Add -m / --modes-of-transit option
- dbirs-m: Fix --json
Travel::Status::DE::DBRIS v0.01
Travel-Status-DE-DBRIS-0.01.tar.gz (signature)
- Initial release
- Supports station board requests, trip details, and station search