GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WEBSERVICE::GDATA::YOUTUBE::FEED::USERPROFILE (3)

.ds Aq ’

NAME

WebService::GData::YouTube::Feed::UserProfile - a youtube user profile for data API v2.

CONTENTS

SYNOPSIS



    use WebService::GData::YouTube;
   
    my $yt = new WebService::GData::YouTube();   
   
    my $profile = $yt->get_user_profile(profile_name_here);
   
    say $profile->about_me;
    say $profile->first_name;
    say $profile->last_name;
    say $profile->age;
    say $profile->username;
    say $profile->statistics->last_web_access;
    #etc...



DESCRIPTION

!WARNING! Documentation in progress.

!DEVELOPER RELEASE! API may change, program may break or be under optimized and I haven’t done a full range of tests yet!

inherits from WebService::GData::Feed::Entry.

This package represents a Youtube User Profile.

It’s a read only data so you can not edit the profile information.

Most of the time you will not instantiate this class directly but use the get_user_profile method in the WebService::GData::YouTube class.

    CONSTRUCTOR

new

Create a WebService::GData::YouTube::Feed::UserProfile instance.

<B>ParametersB>:
jsonc_video_entry_feed:Object (Optional)
authorization:Object (Optional) or
authorization:Object (Optional)

    INHERITED METHODS

All the following read only methods give access to the information contained in a user profile feed entry.

etag

updated

published

category

id

link

title

author

    GETTERS

Below are getters sending back raw text about the user profile information.

Most of them are self explanotory but read

<http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol_profiles.html>

for further information.

about_me

first_name

last_name

age

username

books

gender

company

hobbies

hometown

location

movies

music

relationship

occupation

school

thumbnail

feed_links

Returns a WebService::GData::Collection of WebService::GData::Node::GD::FeedLink.

statistics

Returns a WebService::GData::YouTube::YT::Statistics instance.

You can call the following methods on this object:



    my $stats = $profile->statistics;
   say $stats-> last_web_access;
   say $stats-> view_count;
   say $stats-> subscriber_count;
   say $stats-> video_watch_count;
   say $stats-> total_upload_views;



CONFIGURATION AND ENVIRONMENT

none

INCOMPATIBILITIES

none

BUGS AND LIMITATIONS

If you do me the favor to _use_ this module and find a bug, please email me i will try to do my best to fix it (patches welcome)!

AUTHOR

shiriru <shirirulestheworld[arobas]gmail.com>

LICENSE AND COPYRIGHT

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

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 104: Unterminated I<...> sequence
Around line 112: =back without =over
Around line 145: You forgot a ’=back’ before ’=head3’
Around line 161: =back without =over
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WEBSERVICE::GDATA::YOUTUBE::FEED::USERPROFILE (3) 2011-06-27

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.