WebService::YouTube(3pm)

WebService::YouTube3pm

Perl interface to youtube

Usage

    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

Overview

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.

This module support only Legacy API, does not support YouTube Data API based on Google data protocol. See YouTube Data API 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 "ACCESSORS" section.

videos( )

Returns a WebService::YouTube::Videos object.

feeds( )

Returns a WebService::YouTube::Feeds object.

Accessors

dev_id

Developer ID

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 "[email protected]", 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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0–9
  3. 10
  4. 11–13

Author

Hironori Yoshida <[email protected]>

From libwebservice-youtube-perl 1.0.3-4.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.