VERSION

This document describes WebService::YouTube version 1.0.3

SYNOPSIS

    use WebService::YouTube;

    my $youtube = WebService::YouTube->new( { dev_id => 'YOUR_DEV_ID' } );

    # Get videos via REST API
    my @videos = $youtube->videos->list_featured;

    # Get videos via RSS Feed
    my @videos = $youtube->feeds->recently_added;

DESCRIPTION

This is a Perl interface to YouTube \s-1API\s0 and \s-1RSS\s0. See Developers Page <http://youtube.com/dev> and About \s-1RSS\s0 <http://www.youtube.com/rssls> for details.

This module support only Legacy \s-1API\s0, does not support YouTube Data \s-1API\s0 based on Google data protocol. See YouTube Data \s-1API\s0 Overview <http://code.google.com/apis/youtube/overview.html> for details.

SUBROUTINES/METHODS

new(\%fields)

Creates and returns a new WebService::YouTube object. %fields can contain parameters enumerated in \*(L"\s-1ACCESSORS\s0\*(R" section.

videos( )

Returns a WebService::YouTube::Videos object.

feeds( )

Returns a WebService::YouTube::Feeds object.

\s-1ACCESSORS\s0

dev_id

Developer \s-1ID\s0

ua

LWP::UserAgent object

DIAGNOSTICS

None.

CONFIGURATION AND ENVIRONMENT

WebService::YouTube requires no configuration files or environment variables.

DEPENDENCIES

Class::Accessor::Fast, WebService::YouTube::Videos, WebService::YouTube::Feeds

INCOMPATIBILITIES

WWW::YouTube

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to \*(C`[email protected]\*(C', or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-YouTube>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

AUTHOR

Hironori Yoshida <[email protected]>

LICENSE AND COPYRIGHT

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