Geo::Caching - Object interface for querying Geocaching.com website
use Geo::Caching; my $gc = new Geo::Caching( login => 'casey', # Your Geocaching username password => 'mypass', # Your Geocaching password max_results => 500, # Max number of caches to return cache_days => 3, # Cache results for 3 days cache_dir => '/tmp/geocache' #directory to cache into ); ### Get one Geo::Cache my $cache = $gc->get('GCMMVH'); ### Get Geo::Cache list that my user found my @caches = $gc->query( type => 'UL', username => 'cpnkr, ); #### List of valid query types #################################### # ZIP => By Postal Code # WPT => By Coordinate # UL => By Username (Found) # U => By Username (Hidden) # WN => By Waypoint Name #################################### ####
Provide an object interface to query Geocaching.com
Casey Lee cplee@cplee.org
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.
To install Geo::Caching, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Caching
CPAN shell
perl -MCPAN -e shell install Geo::Caching
For more information on module installation, please visit the detailed CPAN module installation guide.