package Travel::Status::DE::ASEAG; use strict; use warnings; use 5.010; no if $] >= 5.018, warnings => 'experimental::smartmatch'; our $VERSION = '1.01'; use parent 'Travel::Status::DE::URA'; sub new { my ( $class, %opt ) = @_; $opt{ura_base} = 'http://ivu.aseag.de/interfaces/ura'; $opt{ura_version} = '1'; return $class->SUPER::new(%opt); } 1; __END__ =head1 NAME Travel::Status::DE::ASEAG - unofficial ASEAG departure monitor. =head1 SYNOPSIS use Travel::Status::DE::ASEAG; my $status = Travel::Status::DE::ASEAG->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 ); } =head1 VERSION version 1.01 =head1 DESCRIPTION Travel::Status::DE::ASEAG is an unofficial interface to the ASEAG realtime departure monitor. =head1 METHODS =over =item my $status = Travel::Status::DE::ASEAG->new(I<%opt>) Requests the departures as specified by I and returns a new Travel::Status::DE::ASEAG object. Calls Travel::Status::DE::URA->new with the appropriate B and B parameters. All I are passed on. See Travel::Status::DE::URA(3pm) for the other methods. =back =head1 DIAGNOSTICS None. =head1 DEPENDENCIES =over =item * Travel::Status::DE::URA(3pm) =back =head1 BUGS AND LIMITATIONS Many. =head1 SEE ALSO aseag-m(1), Travel::Status::DE::URA(3pm). =head1 AUTHOR Copyright (C) 2013-2015 by Daniel Friesel Ederf@finalrewind.orgE =head1 LICENSE This module is licensed under the same terms as Perl itself.