NAME

Travel::Status::DE::VRR - unofficial VRR departure monitor.

SYNOPSIS

use Travel::Status::DE::VRR;

my $status = Travel::Status::DE::VRR->new(
    place => 'Essen', name => 'Helenenstr'
);

for my $d ($status->results) {
    printf(
        "%s %d %-5s %s\n",
        $d->datetime->strftime('%H:%M'),
        $d->platform, $d->line, $d->destination
    );
}

VERSION

version 3.04

DESCRIPTION

Travel::Status::DE::VRR is an unofficial interface to the VRR departure monitor at http://efa.vrr.de/vrr/XSLT_DM_REQUEST?language=de&itdLPxx_transpCompany=vrr&.

METHODS

my $status = Travel::Status::DE::VRR->new(%opt)

Requests the departures as specified by opts and returns a new Travel::Status::DE::VRR object.

Calls Travel::Status::DE::EFA->new with the appropriate efa_url. All opts are passed on.

See Travel::Status::DE::EFA(3pm) for the other parameters and methods.

DIAGNOSTICS

None.

DEPENDENCIES

  • Class::Accessor(3pm)

  • DateTime(3pm)

  • LWP::UserAgent(3pm)

  • Travel::Status::DE::EFA(3pm)

BUGS AND LIMITATIONS

Many.

SEE ALSO

efa-m(1), Travel::Status::DE::EFA(3pm).

AUTHOR

Copyright (C) 2013-2023 by Birte Kristina Friesel <derf@finalrewind.org>

LICENSE

This module is licensed under the same terms as Perl itself.