Skip to content
GitLab
Explore
Sign in
derf
Travel-Routing-DE-EFA
Compare revisions
30eff16801a7533ad176cb76cace0ba3aa861336 to 922b0adf0db948ce3a1433f0464889d8020c597e
Commits on Source (2)
Route/Part: Document delay in ->via
· 4c49bfd4
Birte Kristina Friesel
authored
Nov 23, 2023
4c49bfd4
Release v2.24
· 922b0adf
Birte Kristina Friesel
authored
Nov 23, 2023
922b0adf
Hide whitespace changes
Inline
Side-by-side
Changelog
View file @
922b0adf
Travel::Routing::DE::VRR 2.24 - Thu Nov 23 2023
* efa: Make output less horizontally dense; show arrival and departure
delays in-line
* EFA::Route::Part: Add arrival_delay and departure_delay accessors
* EFA::Route::Part: via: Add delay field to returned list refs
Travel::Routing::DE::VRR 2.23 - Mon Oct 02 2023
* Update default API endpoint as the previously used efa.vrr.de/vrr seems
...
...
bin/efa
View file @
922b0adf
...
...
@@ -12,7 +12,7 @@ use Exception::Class;
use
Getopt::
Long
qw/:config no_ignore_case/
;
use
List::
Util
qw(first max)
;
our
$VERSION
=
'
2.2
3
';
our
$VERSION
=
'
2.2
4
';
my
$ignore_info
;
my
$efa
;
my
$efa_url
=
'
https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2
';
...
...
@@ -523,7 +523,7 @@ efa - Command line client for EFA-based public transit routing services
=head1 VERSION
version 2.2
3
version 2.2
4
=head1 DESCRIPTION
...
...
lib/Travel/Routing/DE/EFA.pm
View file @
922b0adf
...
...
@@ -40,7 +40,7 @@ use Exception::Class (
},
);
our
$VERSION
=
'
2.2
3
';
our
$VERSION
=
'
2.2
4
';
sub
set_time
{
my
(
$self
,
%conf
)
=
@_
;
...
...
@@ -981,7 +981,7 @@ Travel::Routing::DE::EFA - unofficial interface to EFA-based itinerary services
=head1 VERSION
version 2.2
3
version 2.2
4
=head1 DESCRIPTION
...
...
lib/Travel/Routing/DE/EFA/Route.pm
View file @
922b0adf
...
...
@@ -8,7 +8,7 @@ use parent 'Class::Accessor';
use
Travel::Routing::DE::EFA::Route::
Part
;
our
$VERSION
=
'
2.2
3
';
our
$VERSION
=
'
2.2
4
';
Travel::Routing::DE::EFA::
Route
->
mk_ro_accessors
(
qw(duration ticket_text ticket_type fare_adult fare_child vehicle_time)
);
...
...
@@ -52,7 +52,7 @@ Travel::Routing::DE::EFA::Route - Single route (connection) between two points
=head1 VERSION
version 2.2
3
version 2.2
4
=head1 DESCRIPTION
...
...
lib/Travel/Routing/DE/EFA/Route/Message.pm
View file @
922b0adf
...
...
@@ -6,7 +6,7 @@ use 5.010;
use
parent
'
Class::Accessor
';
our
$VERSION
=
'
2.2
3
';
our
$VERSION
=
'
2.2
4
';
Travel::Routing::DE::EFA::Route::
Message
->
mk_ro_accessors
(
qw(is_detailed summary subject subtitle raw_content)
);
...
...
@@ -58,7 +58,7 @@ route or route part.
=head1 VERSION
version 2.2
3
version 2.2
4
=head1 DESCRIPTION
...
...
lib/Travel/Routing/DE/EFA/Route/Part.pm
View file @
922b0adf
...
...
@@ -6,7 +6,7 @@ use 5.010;
use
parent
'
Class::Accessor
';
our
$VERSION
=
'
2.2
3
';
our
$VERSION
=
'
2.2
4
';
my
%occupancy
=
(
MANY_SEATS
=>
1
,
...
...
@@ -171,7 +171,7 @@ points, without interchanges
=head1 VERSION
version 2.2
3
version 2.2
4
=head1 DESCRIPTION
...
...
@@ -355,9 +355,10 @@ In those cases, B<train_destination> and B<train_line> are usually empty.
=item $part->via
Returns a list of C<< [ "DD.MM.YYYY", "HH:MM", stop, platform ] >> arrayrefs
encoding the stops passed between B<departure_stop> and B<arrival_stop>,
if supported by the backend. Returns nothing / an empty list otherwise.
Returns a list of C<< [ "DD.MM.YYYY", "HH:MM", stop, platform, delay ] >>
arrayrefs encoding the stops passed between B<departure_stop> and
B<arrival_stop>, if supported by the backend. Returns nothing / an empty list
otherwise. Date and time refer to schedule data and do not account for delays.
=back
...
...
lib/Travel/Routing/DE/VRR.pm
View file @
922b0adf
...
...
@@ -4,7 +4,7 @@ use strict;
use
warnings
;
use
5.010
;
our
$VERSION
=
'
2.2
3
';
our
$VERSION
=
'
2.2
4
';
use
parent
'
Travel::Routing::DE::EFA
';
...
...
@@ -47,7 +47,7 @@ Travel::Routing::DE::VRR - unofficial interface to the efa.vrr.de German itinera
=head1 VERSION
version 2.2
3
version 2.2
4
=head1 DESCRIPTION
...
...