WWW::Y...annels(3pm)
πΈ NAME πΈ
WWW::YoutubeViewer::Channels β the Channels interface. that's the whole name, bestie, short and iconic β¨
β¨ SYNOPSIS β¨
here's the little starter pack:
use WWW::YoutubeViewer;
my $obj = WWW::YoutubeViewer->new(%opts);
my $videos = $obj->channels_from_categoryID($category_id);
π SUBROUTINES/METHODS π
okay bestie, method time. every method name and argument is staying exactly as-is, periodt π
π« channels_from_categoryID($category_id) π«
returns the YouTube channels associated with the specified category. that's it, that's the vibe π
π« channels_info($channel_id) π«
returns information for the comma-separated list of the YouTube channel ID(s). commas are the separator, no cap πΈ
πΊ Channel details πΊ
for all functions, "$channels-"{results}{items}> contains this shape:
[
{
id => "....",
kind => "youtube#channel",
snippet => {
description => "...",
publishedAt => "2010-06-24T23:15:37.000Z",
thumbnails => {
default => { url => "..." },
high => { url => "..." },
medium => { url => "..." },
},
title => "...",
}, # end of snippet
},
...
];
π¦ channel_from_id($channel_id, $part = "snippet") π¦
returns info for one or more channel IDs.
multiple channel IDs can be separated by commas. and yes, $part defaults to "snippet" π
π¦ my_channel() π¦
returns info about the channel of the current authenticated user. main character channel energy, literally π
π¦ my_channel_id() π¦
returns the channel ID of the current authenticated user. the ID of the main character, iykyk β¨
π¦ channels_my_subscribers() π¦
retrieves a list of channels that subscribed to the authenticated user's channel. subscriber check bestie π«Ά
π¦ channel_id_from_username($username) π¦
returns the channel ID for an username. yes, that's the argument name, keep it cute and keep it exact π
π¦ channel_title_from_id($channel_id) π¦
returns the channel title for a given channel ID. title reveal moment π
π channels_contentDetails($channelID) π
the manpage shows this shape for it:
{
items => [
{
contentDetails => {
relatedPlaylists => {
likes => "LLwiIs5V6-zX8xaYgwhRhsHQ",
uploads => "UUwiIs5V6-zX8xaYgwhRhsHQ",
},
},
etag => "...",
id => "UCwiIs5V6-zX8xaYgwhRhsHQ",
kind => "youtube#channel",
},
],
kind => "youtube#channelListResponse",
pageInfo => { resultsPerPage => 1, totalResults => 1 },
},
π channels_statistics($channelID); π
the manpage shows this shape for it:
{
items => [
{
etag => "...",
id => "UCwiIs5V6-zX8xaYgwhRhsHQ",
kind => "youtube#channel",
statistics => {
commentCount => 14,
subscriberCount => 313823,
videoCount => 474,
viewCount => 1654024,
},
},
],
kind => "youtube#channelListResponse",
pageInfo => { resultsPerPage => 1, totalResults => 1 },
},
π channels_topicDetails($channelID) π
the manpage shows this shape for it, exactly like this bestie:
items => [
{
etag => "...",
id => "UCwiIs5V6-zX8xaYgwhRhsHQ",
kind => "youtube#channel",
topicDetails => {
topicIds => [
"/m/027lnzs",
"/m/0cp07v2",
...
],
},
},
],
kind => "youtube#channelListResponse",
pageInfo => { resultsPerPage => 1, totalResults => 1 },
π AUTHOR π
the author is Trizen, and the contact line is literally "<echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>" π yes bestie, that's the whole thing.
π«Ά SUPPORT π«Ά
you can find documentation for this module with the perldoc command.
perldoc WWW::YoutubeViewer::Channels
π LICENSE AND COPYRIGHT π
Copyright 2013-2015 Trizen.
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 <https://dev.perl.org/licenses/> for more information.
π that's the whole page, bestie! this one's from perl v5.42.2, dated 2026-02-15, and the manpage name is WWW::Y...annels(3pm). slay β¨
π¦ where this page comes from
- alpine 3.24: youtube-viewer-doc 3.11.6-r1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms