logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

WebService::YouTube - Perl interface to YouTube

Author

       Hironori Yoshida <yoshida@cpan.org>

Bugs And Limitations

       No bugs have been reported.

       Please report any bugs or feature requests to "bug-webservice-youtube@rt.cpan.org", 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.

Configuration And Environment

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

Dependencies

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

Description

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

       ThismodulesupportonlyLegacyAPI,doesnotsupportYouTubeDataAPIbasedonGoogledataprotocol.
       See YouTube Data API Overview <http://code.google.com/apis/youtube/overview.html> for details.

Diagnostics

       None.

Incompatibilities

       WWW::YouTube

Name

       WebService::YouTube - Perl interface to YouTube

Subroutines/Methods

new(\%fields)
       Creates and returns a new WebService::YouTube object.  %fields can contain parameters enumerated in
       "ACCESSORS" section.

   videos()
       Returns a WebService::YouTube::Videos object.

   feeds()
       Returns a WebService::YouTube::Feeds object.

   ACCESSORSdev_id

       Developer ID

       ua

       LWP::UserAgent object

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;

Version

       This document describes WebService::YouTube version 1.0.3

See Also