NAME

WWW::Vimeo::Simple::User - Object-oriented Vimeo Simple API interface. User requests.

VERSION

Version 0.02

SYNOPSIS

This module is a full object-oriented implementation of the Vimeo Simple API. The specifications are available at http://vimeo.com/api/docs/simple-api.

User requests implementation.

    use WWW::Vimeo::Simple;

    my $foo = WWW::Vimeo::Simple->new();

    my $user  = $foo->user( $username );

    $user->info;
    print $user->data->{'id'};
    
    $user->videos;
    foreach $video(@{$user->data}) {
	    print $video->;
    }

METHODS

new( $user_name )

Create a WWW::Vimeo::Simple::User object

info

Fetch user info for the specified user

videos( $page )

Fetch videos created by user, page optional (default 1)

likes( $page )

Fetch videos the user likes, page optional (default 1)

appears_in( $page )

Fetch videos that the user appears in, page optional (default 1)

all_videos( $page )

Fetch videos that the user appears in and created, page optional (default 1)

subscriptions( $page )

Fetch videos the user is subscribed to, page optional (default 1)

albums( $page )

Fetch albums the user has created, page optional (default 1)

channels( $page )

Fetch channels the user has created and subscribed to, page optional (default 1)

groups( $page )

Fetch groups the user has created and joined, page optional (default 1)

contacts_videos( $page )

Fetch videos that the user's contacts created, page optional (default 1)

contacts_like( $page )

Fetch videos that the user's contacts like, page optional (default 1)

make_url( $request )

Build a Vimeo Simple API url

data

Return fetched data

USER INFO DATA

id			User ID
display_name 		User name
created_on 		Date the user signed up
is_staff 		Is this user a staff member?
is_plus 		Is this user a Vimeo Plus member?
location 		The location of the user
url 			User supplied url
bio 			The bio information from the user profile
profile_url 		URL to the user profile
videos_url 		URL to the video list for this user
total_videos_uploaded 	Total # of videos uploaded
total_videos_appears_in Total # of videos user appears in
total_videos_liked  	Total # of videos liked by user
total_contacts 		Total # of contacts
total_albums 		Total # of albums
total_channels 		Total # of channels moderated by user
portrait_small 		Small user portrait (30px)
portrait_medium 	Medium user portrait (100px)
portrait_large 		Large user portrait (300px)

AUTHOR

Alessandro Ghedini, <alexbio at cpan.org>

BUGS

Please report any bugs or feature requests to bug-www-vimeo-simple at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Vimeo-Simple. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WWW::Vimeo::Simple::User

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright 2010 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.