NAME
Google::Plus::Person - profile of a Google+ person
SYNOPSIS
use Google::Plus;
my $plus = Google::Plus->new($google_plus_api_key);
# Get my profile
my $person = Google::Plus->person('112708775709583792684')
use v5.10.1;
say "Name: ", $person->display_name;
say "Tag Line: ", $person->tag_line;
DESCRIPTION
Google::Plus::Person is a class for Google+ profiles as described in http://developers.google.com/+/api/latest/people.
ATTRIBUTES
Google::Plus::Person implements the following attributes:
id
my $id = $person->id;
Numeric user ID, e.g. 112708775709583792684.
about_me
my $about = $person->about_me;
Short biography of this person.
display_name
my $name = $person->display_name;
Name of person, suitable for display.
image
my $image = $person->image;
URL of this person's profile photo.
gender
my $gender = $person->gender;
Person's gender.
tag_line
my $tagline = $person->tag_line;
Brief description (tagline) of this person.
url
my $url = $person->url;
URL of this person's profile, e.g. https://plus.google.com/112708775709583792684/posts.
METHODS
Google::Plus::Person implements the following methods:
new
my $person = Google::Plus::Person->new($user_id, $json, $key, $ua);
Construct a new Google::Plus::Person object from the given user ID. If given a hash reference holding profile information, populate the object's attributes with it.
SEE ALSO
Google::Plus, http://developers.google.com/+/api/latest/people