WWW::IRail::API::Connections - HTTP::Request builder and HTTP::Response parser for the IRail API (Train)Connection data
make_request( from => 'brussel noord', to => 'oostende' );
This module builds a HTTP::Request and has a parser for the HTTP::Response. It's up to you to transmit it over the wire. If don't want to do that yourself, don't use this module directly and use WWW::IRail::API instead.
from and to are the only arguments required, all time and date arguments default to the current time and date on the iRail API side.
from => 'oostende',
to => 'brussel noord',
date => '2010-11-28' || '20101128' || 'tomorrow afternoon',
time => '6:24' || 1290922133,
parses the HTTP::Response you got back from the server, which if all went well contains XML. That XML is then transformed into other data formats
See perlmodinstall for information and options on installing Perl modules.
No bugs have been reported.
Please report any bugs or feature requests through the web interface at http://rt.cpan.org.
Tim Esselens <firstname.lastname@example.org>
This software is copyright (c) 2010 by Tim Esselens.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WWW::IRail::API, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.