Geo::Coder::PlaceFinder - Geocode addresses with the Yahoo! BOSS PlaceFinder API
Version 0.1
Provides a thin Perl interface to the PlaceFinder Geocoding API.
use Geo::Coder::PlaceFinder; my $geocoder = Geo::Coder::PlaceFinder->new( consumer_key => 'consumer_key_from_api_dashboard', secret_key => 'secret_key_from_api_dashboard' ); my $location = $geocoder->geocode( { location => '701 1st Ave, Sunnyvale, CA 94089, USA' } );
Read more about the API at http://developer.yahoo.com/boss/geo
Constructs a new Geo::Coder::PlaceFinder object and returns it. Requires PlaceFinder consumer and secret keys as arguments.
Geo::Coder::PlaceFinder
KEY VALUE ----------- -------------------- consumer_key PlaceFinder Consumer Key secret_key PlaceFinder Secret Key
Takes a location in a hashref as an argument and returns the lattitude and longitude of the specified location.
Alistair Francis, http://www.alistairfrancis.com/
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
To install Geo::Coder::PlaceFinder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coder::PlaceFinder
CPAN shell
perl -MCPAN -e shell install Geo::Coder::PlaceFinder
For more information on module installation, please visit the detailed CPAN module installation guide.