Pithub::SearchV3(3pm)
π Pithub::SearchV3 β bestie, it's the Github v3 Search API β¨
okay so real talk: this is Pithub::SearchV3, a lil module from the User Contributed Perl Documentation corner of the CPAN universe, and it's literally just here to let you search Github's v3 API like the main character you are. π«Ά
πΈ VERSION πΈ
version 0.01043
yes bestie, that's the version. write it down. it matters. π
β¨ METHODS β¨
π¦ issues
- Find issues by state and keyword.
the endpoint it hits is:
GET /search/issues
Examples, no cap:
my $search = Pithub::Search->new;
my $result = $search->issues(
q => 'some keyword',
);
π not me noticing this example usesPithub::Search->newand notPithub::SearchV3->newβ that's exactly how it's written in the docs, so that's how you're getting it. keeping it verbatim, periodt.
π repos
- Find repositories by keyword.
the endpoint:
GET /search/repositories
Example time:
my $search = Pithub::SearchV3->new;
my $result = $search->repos(
q => 'github language:Perl',
);
searching for Perl repos inside the github org? iconic behaviour. the taste level is immaculate. πͺ
π users
- Find users by keyword.
the endpoint:
GET /search/users
Example:
my $search = Pithub::SearchV3->new;
my $result = $search->users(
q => 'plu',
);
finding your people by keyword, fr fr. so cute. π«Ά
β code
- Search code by keyword.
the endpoint:
GET /search/code
Example:
my $search = Pithub::SearchV3->new;
my $result = $search->code(
q => 'addClass repo:jquery/jquery',
);
the way you can scope a code search straight to a repo... the power. the range. π
π AUTHOR π
Johannes Plunien <plu@cpan.org> β we love them, we thank them, we stan. π
π 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. π
okay and that's the whole page bestie!! this little doc was brought to you by perl v5.40.1, dated 2025-06-08, and it lives its life as Pithub::SearchV3(3pm). mwah, go search some stuff, you got this π
β¨
π¦ 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