Alistair Francis > Geo-Coder-Cloudmade-0.7 > Geo::Coder::Cloudmade

Download:
Geo-Coder-Cloudmade-0.7.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.7   Source  

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.

syntax highlighting: