WebSer...YouTube(3pm)
π WebService::YouTube π
okay bestie, welcome to WebService::YouTube, the Perl interface to YouTube, living its best life in the 3pm section of the manual (that's Perl module docs, iykyk). This doc describes version 1.0.3. Let's get into it π«Ά
β¨ 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;
like, four lines and you're already pulling videos. main character energy fr π
πΈ DESCRIPTION πΈ
So this is a Perl interface to the YouTube API and RSS. If you want the deets, go peek at the Developers Page at http://youtube.com/dev and About RSS at http://www.youtube.com/rssls. β¨
π¨ okay important thing, listen up: this module supports only the Legacy API. It does not support the YouTube Data API that's based on the Google data protocol. Periodt. If that's what you need, go read the YouTube Data API Overview at http://code.google.com/apis/youtube/overview.html instead. π
π SUBROUTINES/METHODS π
new(\%fields)
Makes you a brand new WebService::YouTube object and hands it over. The %fields you pass in can hold any of the parameters listed down in the "ACCESSORS" section. new object, new era, obsessed π
videos( )
Returns a WebService::YouTube::Videos object. that's it, that's the method π
feeds( )
Returns a WebService::YouTube::Feeds object. iconic behavior honestly π¦
π ACCESSORS π
dev_idβ your Developer ID. yes you need it, it's the whole vibe check πuaβ anLWP::UserAgentobject. that's your little internet-fetching bestie π§
π DIAGNOSTICS π
None. literally nothing. silent queen, no notes π
π CONFIGURATION AND ENVIRONMENT π
WebService::YouTube requires no configuration files and no environment variables. zero setup, just vibes β¨
π DEPENDENCIES π
Class::Accessor::FastWebService::YouTube::VideosWebService::YouTube::Feeds
that's the whole squad π«Ά
π INCOMPATIBILITIES π
WWW::YouTube
not it, bestie. they don't play nice π
π₯ BUGS AND LIMITATIONS π₯
No bugs have been reported. (slay, but also, we know how that goes π)
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. The author gets notified, and then you'll automatically get notified of progress on your bug as changes get made. like, you're in the loop the whole time, we love a feedback cycle π
πΈ AUTHOR πΈ
Hironori Yoshida <yoshida@cpan.org> β thank you for your service, king π
π 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. go forth and remix, legally π
and that's the whole page bestie!! this was perl v5.32.0, dated 2021-01-07 β mwah, go build something cute π
β¨
π¦ where this page comes from
- debian bookworm: libwebservice-youtube-perl 1.0.3-4.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwebservice-youtube-perl 1.0.3-4.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libwebservice-youtube-perl 1.0.3-4.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwebservice-youtube-perl 1.0.3-4.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwebservice-youtube-perl 1.0.3-4.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwebservice-youtube-perl 1.0.3-4.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms