Casey Lee > Geo-Caching-0.11 > Geo::Caching

Download:
Geo-Caching-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

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

SYNOPSIS ^

    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 ^

Provide an object interface to query Geocaching.com

AUTHOR ^

        Casey Lee
        cplee@cplee.org

COPYRIGHT ^

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.

syntax highlighting: