WWW::Y...annels(3pm)

πŸ“¦ version 3.11.6, in alpine 3.24

🌸 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

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