NAME
WWW::Vimeo::Simple::Video - Video requests for the Vimeo Simple API
VERSION
version 0.13
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.
Video request implementation.
use feature 'say';
use WWW::Vimeo::Simple::Video;
# create a new video object
my $video = WWW::Vimeo::Simple::Video -> new(id => $video_id);
# retrieve video's information
$video -> info;
# print video's information
say $video -> title;
say $video -> description;
say $video -> url;
...
METHODS
new( id => $video_id )
Create a WWW::Vimeo::Simple::Video object using the gived ID.
A Video object has the following attributes:
title
Video title
url
URL to the Video Page
id
Video ID
description
The description of the video
thumbnail_small
URL to a small version of the thumbnail
thumbnail_medium
URL to a medium version of the thumbnail
thumbnail_large
URL to a large version of the thumbnail
user_name
The user name of the video's uploader
user_url
The URL to the user profile
upload_date
The date/time the video was uploaded on
user_portrait_small
Small user portrait (30px)
user_portrait_medium
Medium user portrait (100px)
user_portrait_large
Large user portrait (300px)
stats_number_of_likes
# of likes
stats_number_of_views
# of views
stats_number_of_comments
# of comments
duration
Duration of the video in seconds
width
Standard definition width of the video
height
Standard definition height of the video
tags
Comma separated list of tags
info
Fetch video info for the specified video.
AUTHOR
Alessandro Ghedini <alexbio@cpan.org>
LICENSE AND COPYRIGHT
Copyright 2011 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.