Geo::WebService::OpenCellID - Perl API for the opencellid.org database
use Geo::WebService::OpenCellID; my $gwo=Geo::WebService::OpenCellID->new(key=>$apikey); my $point=$gwo->cell->get(mcc=>$country, mnc=>$network, lac=>$locale, cellid=>$cellid); printf "Lat:%s, Lon:%s\n", $point->latlon;
Perl Interface to the database at http://www.opencellid.org/
my $obj = Geo::WebService::OpenCellID->new( key=>"myapikey", #default url=>"http://www.opencellid.org/", #default );
Sets and returns the API key.
Sets and returns the URL. Defaults to http://www.opencellid.org/
Returns a Geo::WebService::OpenCellID::cell object.
Returns a Geo::WebService::OpenCellID::measure object.
Calls the web service.
my $data=$gwo->call($method_path, $response_class, %parameters);
Returns a data structure given xml
my $ref =$gwo->data_xml();
Submit to RT and email the Author
Try the Author or Try 8motions.com
Michael R. Davis CPAN ID: MRDVT STOP, LLC domain=>michaelrdavis,tld=>com,account=>perl http://www.stopllc.com/
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
URI, LWP::Simple, XML::Simple
To install Geo::WebService::OpenCellID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::WebService::OpenCellID
CPAN shell
perl -MCPAN -e shell install Geo::WebService::OpenCellID
For more information on module installation, please visit the detailed CPAN module installation guide.