Pithub::SearchV3(3pm)

πŸ“¦
version 0.01043 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 uses Pithub::Search->new and not Pithub::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. πŸ’–


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