Google::Directions - Query directions from the google maps directions API
An interface to Google Maps Directions API V3.
More details about what the API can do can be found on the API website
use Google::Directions::Client; my $goog = Google::Directions::Client->new(); my $response = $goog->directions( origin => '25 Thompson Street, New York, NY, United States', destination => '34 Lafayette Street, New York, NY, United States', );
Warning: This causes occasional errors due to partial content being returned... I'm not sure what the root cause for this is... :(
Returns a Google::Directions::Response
See the API documentation here for details
<perl at robinclarke.net>
Please report any bugs or feature requests to
bug-google-directions at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Google-Directions. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2012 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.