Michael R. Davis > Geo-Google-Latitude-0.04 > Geo::Google::Latitude

Download:
Geo-Google-Latitude-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.04   Source   Latest Release: Geo-Google-Latitude-0.06

NAME ^

Geo::Google::Latitude - Retrieves a Google Latitude Public Location Badge

SYNOPSIS ^

  use Geo::Google::Latitude;
  my $gl=Geo::Google::Latitude->new;
  my $id=7832225593622256926;
  my $badge=$gl->get($id); #isa L<Geo::Google::Latitude::Badge>

DESCRIPTION ^

Perl Object Interface to the Google Latitude Public Location Badge. In order to enable Google Latitude down load Google Maps on your mobile device and set the permission to share to the public.

USAGE ^

  use Geo::Google::Latitude;
  my $gl=Geo::Google::Latitude->new(
            url=>"http://www.google.com/latitude/apps/badge/api");

CONSTRUCTOR ^

new

Returns a Geo::Google::Latitude blessed object. If you need to over ride the API URL you may do so with the optional url parameter.

METHODS ^

get

Fetches the Google Latitude Public Location Badge from google.com and returns a Geo::Google::Latitude::Badge object initialized with the JSON encoded data.

  my $badge=$gl->get($id); #isa L<Geo::Google::Latitude::Badge>

Note: Even though the JSON Google API supports multiple users by using a comma-separated list of user identifiers. This API was written to work for one user identifier at a time.

BUGS ^

Log and send to Geo Perl.

SUPPORT ^

Try Geo Perl.

AUTHOR ^

    Michael R. Davis
    CPAN ID: MRDVT
    STOP, LLC
    domain=>michaelrdavis,tld=>com,account=>perl
    http://www.stopllc.com/

COPYRIGHT ^

This program is free software licensed under the...

        The BSD License

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO ^

http://www.google.com/latitude/apps/badge, http://www.ruwenzori.net/code/latitude2brightkite/, LWP::Simple, URI, JSON::XS, GPS::Point, Geo::Google::Latitude::Badge