The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Travel::Status::GB::TFL - unofficial TFL departure monitor.

SYNOPSIS

    use Travel::Status::GB::TFL;

    my $status = Travel::Status::GB::TFL->new(
        stop => 'Aachen Bushof'
    );

    for my $d ($status->results) {
        printf(
            "%s  %-5s %25s (in %d min)\n",
            $d->time, $d->line, $d->destination, $d->countdown
        );
    }

VERSION

version 2.01

DESCRIPTION

Travel::Status::GB::TFL is an unofficial interface to the Transport for London (TfL) realtime departure monitor.

METHODS

my $status = Travel::Status::GB::TFL->new(%opt)

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

Calls Travel::Status::DE::URA->new with the appropriate ura_base and ura_version parameters. All opts are passed on.

See Travel::Status::DE::URA(3pm) for the other methods.

DIAGNOSTICS

None.

DEPENDENCIES

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

BUGS AND LIMITATIONS

Many.

SEE ALSO

tfl-m(1), Travel::Status::DE::URA(3pm).

AUTHOR

Copyright (C) 2016 by Daniel Friesel <derf@finalrewind.org>

LICENSE

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