WWW::P...:Videos(3pm)

πŸ“¦ version 0.5.3, in alpine 3.24

πŸ’– NAME πŸ’–

okay so bestie, this is the manual for WWW::PipeViewer::Videos β€” literally the videos handler. The page header labels it WWW::P...:Videos(3pm) and says it's from User Contributed Perl Documentation. That's the whole name section, slay. ✨

🌸 SYNOPSIS 🌸

Here's the group-chat starter pack:

use WWW::PipeViewer;
my $obj = WWW::PipeViewer->new(%opts);
my $info = $obj->video_details($videoID);

πŸ¦‹ SUBROUTINES/METHODS πŸ¦‹

Grabs the popular videos from a category ID. That's the whole job, no cap. πŸ”₯

πŸ’… videos_details($id, $part) πŸ’…

Gives you info about a videoID β€” the kind of stuff like channelId, title, description, tags, and categoryId. πŸ‘‘

The available values for part are exactly: id, snippet, contentDetails player, statistics, status and topicDetails.

The $part string can contain more values, comma-separated. Comma-separated means more than one, bestie. πŸ“

Example:

part => 'snippet,contentDetails,statistics'

When $part is "undef", it defaults to snippet.

πŸŽ€ Return details πŸŽ€

Okay so here's the return-shape tea:

  • Each function returns a HASH ref, with a key called 'results', and another key, called 'url'.
  • The 'url' key contains a string, which is the URL for the retrieved content.
  • The 'results' key contains another HASH ref with the keys 'etag', 'items' and 'kind'. From the 'results' key, only the 'items' are relevant to us.
  • The 'items' key contains an ARRAY ref, with a HASH ref for each result.
  • An example of the item array's content are shown below. (Yes, that's literally what the page says, bestie. πŸ™ˆ)

πŸ’Œ AUTHOR πŸ’Œ

Trizen, <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d> β€” that's the contact line, iconic. 🫢

🌈 SUPPORT 🌈

You can find documentation for this module with the perldoc command:

perldoc WWW::PipeViewer::Videos

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 a wrap, bestie! This page comes from User Contributed Perl Documentation, for perl v5.42.2, dated 2024-09-28, and the manual name on the footer is WWW::P...:Videos(3pm). Bye, love you! πŸ’…βœ¨

πŸ“¦ where this page comes from