WWW::P...:Videos(3pm)
π 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 π¦
β¨ trending_videos_from_category($category_id) β¨
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
π 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 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
- alpine 3.24: pipe-viewer-doc 0.5.3-r0 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms