NAME

Geo::Coder::Cloudmade - Geocode addresses with the Cloudmade API

VERSION

Version 0.2

SYNOPSIS

Provides a thin Perl interface to the Cloudmade Geocoding API.

use Geo::Coder::Cloudmade;

my $geocoder = Geo::Coder::Cloudmade->new( apikey => 'my_app' );
my $location = $geocoder->geocode( { location => '1370 Willow Road, 2nd Floor, Menlo Park, CA 94025 USA' } );

OFFICIAL API DOCUMENTATION

Read more about the API at http://developers.cloudmade.com/.

METHOD

new

Constructs a new Geo::Coder::Cloudmade object and returns it. Requires a Cloudmade api key as an argument.

KEY                   VALUE
-----------           --------------------
apikey                Cloudmade API key

geocode

Takes a location in a hashref as an argument and returns the list of matching coordinates for the specified location.

AUTHOR

Alistair Francis, http://search.cpan.org/~friffin/

COPYRIGHT AND LICENSE

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:

Around line 103:

You forgot a '=back' before '=head2'