Pithub...viewers(3pm)
π Pithub::PullRequests::Reviewers β Github v3 Pull Request Review Requests API π
okay bestie, sit down, hydrate, and let me tell you about Pithub::PullRequests::Reviewers β it's the little module that handles the Github v3 Pull Request Review Requests API for you. no cap, it's giving "I do the REST calls so you don't have to". π
This page lives in the User Contributed Perl Documentation section of the manual, and the manual page is titled Pithub...viewers(3pm) (yes, the title got squished, that's just how man pages do, iykyk). π
β¨ VERSION β¨
version 0.01043 β that's the one you're reading right now, periodt. π¦
πΈ METHODS πΈ
Three methods, three icons, no filler. Let's go. π₯
π
delete
deleteβ Remove requested reviewers ποΈ
Here's the endpoint it hits, exactly:
DELETE /repos/:user/:repo/pulls/:id/requested_reviewers
Examples, verbatim, don't @ me:
my $c = Pithub::PullRequests::Reviewers->new;
my $result = $c->delete(
repo => 'Pithub',
user => 'plu',
pull_request_id => 1,
);
π¦ list
listβ List requested_reviewers for a pull request π
Endpoint, character for character:
GET /repos/:user/:repo/pulls/:id/requested_reviewers
Examples, as-is:
my $c = Pithub::PullRequests::Reviewers->new;
my $result = $c->list(
repo => 'Pithub',
user => 'plu',
pull_request_id => 1,
);
π update
updateβ Request reviewers for a pull request πββοΈ
Endpoint, untouched:
POST /repos/:user/:repo/pulls/:id/requested_reviewers
Examples, and yes this is exactly how it's written, including the lil spacing situation on the repo/user/pull_request_id/data lines:
my $c = Pithub::PullRequests::Reviewers->new;
my $result = $c->update(
repo => 'Pithub',
user => 'plu',
pull_request_id => 1,
data => { reviewers => ['octocat'] },
);
ngl thedata => { reviewers => ['octocat'] }is where you tell Github who you want reviewing.octocatis the moment. πβ¨
π AUTHOR π
Johannes Plunien β <plu@cpan.org> β icon, legend, wrote the whole thing. π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011 by Johannes Plunien.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, go wild, it's free. π
and that's the whole page, bestie β nothing skipped, nothing summarised, all facts intact. π
perl v5.40.1 Β· 2025-06-08 Β· Pithub...viewers(3pm) β mwah, that's the sign-off, slay, bye. π§π
β¨
π¦ where this page comes from
- debian trixie: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpithub-perl 0.01043-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpithub-perl 0.01043-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