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

NAME

Net::NationalRail::LiveDepartureBoards - Live Departure Boards information

VERSION

Version 0.02

SYNOPSIS

Provides an interface to the National Rail Enquiries Live Departure Boards SOAP API, as documented at http://www.livedepartureboards.co.uk/ldbws/.

    use Net::NationalRail::LiveDepartureBoards;

    my $ldb = Net::NationalRail::LiveDepartureBoards->new();
    my $hashref = $ldb->departures(rows => 10, crs => 'RUG');

    # Or filter by trains going to another place
    my $hashref = $ldb->departures(rows => 10, crs => 'RUG', filtercrs => 'SOU');

    # Or get trains arriving from another place
    my $hashref = $ldb->departures(rows => 10, crs => 'SOU',
        filtercrs => 'RUG', filtertype => 'from');

METHODS

new

departures

arrivals

arrivals_and_departures

AUTHOR

Tim Retout, <diocles at cpan.org>

BUGS

This is version 0.02. The API is probably not stable yet. There are probably bugs. The module could break at any time at the whim of ATOC.

Please report any bugs or feature requests to bug-net-nationalrail-livedepartureboards at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-NationalRail-LiveDepartureBoards. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Net::NationalRail::LiveDepartureBoards

You can also look for information at:

COPYRIGHT & LICENSE

Copyright (C) 2009, 2010 Tim Retout, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

WWW::NationalRail, WWW::LiveDepartureBoards