Documents
README
Changelog
dbris(1)
Travel-Routing-DE-DBRIS(3)
Downloads
Travel-Routing-DE-DBRIS 0.05
Debian
Mirrors finalrewind Chaosdorf GitHub
See Also CPAN GitHub Issues Docker Image
Downloads


Mirrors finalrewind Chaosdorf GitHub
See Also CPAN GitHub Issues Docker Image
dbris provides a commandline client and Perl module for the bahn.de public transit routing interface. It requests connections between two stops and prints the results as text or JSON. Features include
- configurable modes of transit (e.g. no ICE or IC/EC services),
- price information for configurable passengers and discounts,
- and compatibility with dbris-m for connection segment details.
See the dbris manual for a detailed feature list and usage instructions. Refer to the README for installation instructions.
Example Output
> dbris 'Eichlinghofen H-Bahn, Dortmund' 'Dortmund Hbf'
19.01. 16:51 (00:21) 17:12 . Bus S
Bus 440 → Oespel S-Bahnhof, Dortmund
16:51 (+1) ab Eichlinghofen H-Bahn, Dortmund
16:56 (+1) an Oespel S-Bahnhof, Dortmund
Fußweg 46m (≈ 3 min.)
S 1 → Dortmund Hbf .
17:01 (+5) ab Dortmund-Oespel 2
17:12 (+2) an Dortmund Hbf 7
---------------------------------------
19.01. 16:51 (00:26) 17:17 Bus U U
Bus 440 → Brünninghausen Betriebshof, Dortmund
16:51 ab Eichlinghofen H-Bahn, Dortmund
16:56 an Barop Parkhaus, Dortmund
Fußweg 27m (≈ 2 min.)
U 42 → Grevel, Dortmund
17:02 ab Barop Parkhaus, Dortmund
17:11 an Stadtgarten, Dortmund
Fußweg 11m (≈ 1 min.)
U 41 → Brambauer Verkehrshof, Lünen
17:14 (+2) ab Stadtgarten, Dortmund
17:17 (+2) an Hauptbahnhof, Dortmund
2025-02-08
Travel::Routing::DE::DBRIS v0.05
Travel-Routing-DE-DBRIS-0.05.tar.gz (signature)
- dbris: Bump dependency version to really fix
--json
- dbris: Handle segments without duration
2025-02-07
Travel::Routing::DE::DBRIS v0.04
Travel-Routing-DE-DBRIS-0.04.tar.gz (signature)
- Connection, Segment:
TO_JSON
: convert DateTime and Duration objects - dbris: Fix
--json
- dbris: Add
-a
/--arrival
option - dbris: Add
-o
/--with-offers
option (work in progress) - dbris: Add
--with-upsell-offers
option
2025-02-02
Travel::Routing::DE::DBRIS v0.03
Travel-Routing-DE-DBRIS-0.03.tar.gz (signature)
- Connection: Add
is_cancelled
,is_unscheduled
,is_unlikely
accessors - Segment: Add
is_unlikely
andtransfer_duration
accessors - Parse and expose messages related to connections and connection segments
- dbris: Indicate connections that include cancelled segments or segments that will likely not be reached due to insufficient layover time
- dbris: add
-j
/--with-jid
option - dbris: add
-v
/--verbose
option
2025-01-28
Travel::Routing::DE::DBRIS v0.02
Travel-Routing-DE-DBRIS-0.02.tar.gz (signature)
- Add support for up to two stopovers
- Add first class option (
--first-class
/first_class
) - Add detailed passenger specification for price calculation
(
--passengers
/passengers
)
2025-01-19
Travel::Routing::DE::DBRIS v0.01
Travel-Routing-DE-DBRIS-0.01.tar.gz (signature)
- Initial release
- Supports requesting itineraries from bahn.de with user-specified departure date/time and modes of transport
- Features that are not implemented yet include proper pricing / passenger specification, Deutschlandticket, bike carriage, and reservation only