Geo::Caching - Object interface for querying Geocaching.com website


Geo-Caching documentation  | view source Contained in the Geo-Caching distribution.

Index


NAME

Top

Geo::Caching - Object interface for querying Geocaching.com website

SYNOPSIS

Top

    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
    ####################################
    ####

DESCRIPTION

Top

Provide an object interface to query Geocaching.com

AUTHOR

Top

	Casey Lee
	cplee@cplee.org

COPYRIGHT

Top


Geo-Caching documentation  | view source Contained in the Geo-Caching distribution.