Loading bin/efa-m +7 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ my $service = 'VRR'; my $efa_url; my $use_cache = 1; my $cache; my $num_results = 40; my ( $json_output, $raw_json_output ); my ( $date, $time, $input_type, $list_lines, $offset, $relative_times ); my ( $full_routes, $filter_via, $show_jid ); Loading Loading @@ -47,6 +48,7 @@ GetOptions( 'L|linelist' => \$list_lines, 'list' => \$list_services, 'm|mot=s@' => \@grep_mots, 'n|num-results=i' => \$num_results, 'o|offset=i' => \$offset, 'O|output=s@' => \@edata_pre, 'p|platform=s@' => \@grep_platforms, Loading Loading @@ -172,6 +174,7 @@ sub new_efa { full_routes => $full_routes, place => $place, name => $input, num_results => $num_results, coord => $coord, stopfinder => $stopfinder, stopseq => $stopseq, Loading Loading @@ -748,6 +751,10 @@ The following departure types ("modes of transport") are supported: zug, s-bahn, u-bahn, stadtbahn, tram, stadtbus, regionalbus, schnellbus, seilbahn, schiff, ast, sonstige =item B<-n>, B<--num-results> I<n> (monitor) Request up to I<n> departures. =item B<-o>, B<--offset> I<minutes> (monitor) Ignore departures which are less than I<minutes> from now. Loading lib/Travel/Status/DE/EFA.pm +5 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,7 @@ sub new { itdDateYear => $dt->year, itdTimeHour => $dt->hour, itdTimeMinute => $dt->minute, limit => $opt{num_results} // 40, name_dm => uri_escape( encode( $encoding, $opt{name} ), '^A-Za-z0-9-._~ ' ), }; Loading Loading @@ -814,6 +815,10 @@ B<stop> (stop/station name). Request departures for the date/time specified by I<DateTime object>. Default: now. =item B<num_results> => I<n> Request up to I<n> departures. Default: 40. =item B<full_routes> => B<0>|B<1> If true: Request full routes for all departures from the backend. This Loading Loading
bin/efa-m +7 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ my $service = 'VRR'; my $efa_url; my $use_cache = 1; my $cache; my $num_results = 40; my ( $json_output, $raw_json_output ); my ( $date, $time, $input_type, $list_lines, $offset, $relative_times ); my ( $full_routes, $filter_via, $show_jid ); Loading Loading @@ -47,6 +48,7 @@ GetOptions( 'L|linelist' => \$list_lines, 'list' => \$list_services, 'm|mot=s@' => \@grep_mots, 'n|num-results=i' => \$num_results, 'o|offset=i' => \$offset, 'O|output=s@' => \@edata_pre, 'p|platform=s@' => \@grep_platforms, Loading Loading @@ -172,6 +174,7 @@ sub new_efa { full_routes => $full_routes, place => $place, name => $input, num_results => $num_results, coord => $coord, stopfinder => $stopfinder, stopseq => $stopseq, Loading Loading @@ -748,6 +751,10 @@ The following departure types ("modes of transport") are supported: zug, s-bahn, u-bahn, stadtbahn, tram, stadtbus, regionalbus, schnellbus, seilbahn, schiff, ast, sonstige =item B<-n>, B<--num-results> I<n> (monitor) Request up to I<n> departures. =item B<-o>, B<--offset> I<minutes> (monitor) Ignore departures which are less than I<minutes> from now. Loading
lib/Travel/Status/DE/EFA.pm +5 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,7 @@ sub new { itdDateYear => $dt->year, itdTimeHour => $dt->hour, itdTimeMinute => $dt->minute, limit => $opt{num_results} // 40, name_dm => uri_escape( encode( $encoding, $opt{name} ), '^A-Za-z0-9-._~ ' ), }; Loading Loading @@ -814,6 +815,10 @@ B<stop> (stop/station name). Request departures for the date/time specified by I<DateTime object>. Default: now. =item B<num_results> => I<n> Request up to I<n> departures. Default: 40. =item B<full_routes> => B<0>|B<1> If true: Request full routes for all departures from the backend. This Loading