Paul Jamieson Fenwick > Exobrain-1.07 > Exobrain::Measurement::Geo

Download:
Exobrain-1.07.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.07   Source   Latest Release: Exobrain-1.08

NAME ^

Exobrain::Measurement::Geo - Geo measurement packet

VERSION ^

version 1.07

DESCRIPTION ^

A standard form of measuring a geolocation, which may be from Foursquare, brightkite, twitter, facebook, or anything else that lets us snoop on poeple.

Eg:

    $exobrain->measure('Geo',
        source => 'Foursquare',
        user    => 'pjf',
        user_name => 'Paul Fenwick',
        is_me   => 1,
        poi     => {
            id   => 'abc01234ff',
            name => 'Some place',
            lat  => $latitude,  # optional
            long => $longitude, # optional
        },
        message => 'Drinking a coffee',
        lat  => $latitude,  # optional
        long => $longitude, # optional
    );

In the future user and user_name may be combined into a user object.

AUTHOR ^

Paul Fenwick <pjf@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 by Paul Fenwick.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: