WWW::EFA - Interface to EFA sites (Elektronische Fahrplanauskunft)
Version 0.04
Get location of public transport stops and connection details.
use WWW::EFA; my $efa = WWW::EFA->new(); ...
TODO: RCL 2012-01-22 document params/accessors
Queries the XSLT_DM_REQUEST method from the EFA server.
Queries the XSLT_TRIP_REQUEST2 method from the EFA server.
Queries the XML_STOPFINDER_REQUEST method from the EFA server.
Used to get an address from coordinates
Returns an ArrayRef of WWW::EFA::Location.
my $location = WWW::EFA::Location->new( coordinates => WWW::EFA::Coordinates->new( lat => 12.12345, lon => 48.12345, );
my( $address ) = $efa->stop_finder( location => $location, );
Queries the XML_COORD_REQUEST method from the EFA server. Returns an array reference of WWW::EFA::Location objects.
Give any valid combination from which a Location object may be completed (id, lat/lon, latitude/longitude, or location) and it will return a complete WWW::EFA::Location.
This can be handy in some contexts when you don't have a complete location object...
Robin Clarke, <perl at robinclarke.net>
<perl at robinclarke.net>
Please report any bugs or feature requests to bug-www-efa at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-EFA. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-efa at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::EFA
You can also look for information at:
Github - this is my preferred path to receive input on the project!
https://github.com/robin13/WWW-EFA
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-EFA
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-EFA
CPAN Ratings
http://cpanratings.perl.org/d/WWW-EFA
Search CPAN
http://search.cpan.org/dist/WWW-EFA/
Copyright 2011 Robin Clarke.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install WWW::EFA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::EFA
CPAN shell
perl -MCPAN -e shell install WWW::EFA
For more information on module installation, please visit the detailed CPAN module installation guide.