NAME

WWW::Vimeo::Simple::Album - Object-oriented Vimeo Simple API interface. Album 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.

Album requests implementation.

    use WWW::Vimeo::Simple;

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

    my $album = $foo->album( $album_id );

    $album->videos;
    
    foreach (@{$album->data}) {
	    print $_ -> {'title'};
    }

METHODS

new( $username )

Create a WWW::Vimeo::Simple::Album object

info

Fetch album info for the specified album

videos( $page )

Fetch videos in that album, page optional (default 1)

make_url( $request )

Build a Vimeo Simple API url

data

Return fetched data

ALBUM INFO DATA

id 			Album ID
created_on 		Date the album was created
last_modified 		Date the album was last modified
title 			Album title
description 		Album description
url 			URL for the album page
thumbnail 		Thumbnail
total_videos 		Total # of videos added to the album
user_id User 		ID of the user who made the album
user_display_name 	Name of the User who created the album
user_url 		The URL to the album creator's profile

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

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.