Pithub::Search(3pm)

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

✨ NAME ✨

Pithub::Search β€” the Github legacy Search API, bestie πŸ’…

Like, it's the search part of Pithub, but specifically the legacy flavor. Yes legacy. We said what we said. 🫢


🌸 VERSION 🌸

version 0.01043 β€” she's little, she's vintage, she's doing her best πŸ’–


πŸŽ€ METHODS πŸŽ€

πŸ’Œ email

  • Okay so heads up, this API call is added for compatibility reasons only. There's no guarantee that full email searches will always be available. It's giving "we kept it around for the vibes," not "this is forever." 😭
GET /legacy/user/email/:email

Examples:

my $search = Pithub::Search->new;
my $result = $search->email(
    email => 'plu@pqpq.de',
);

πŸ› issues

  • Find issues by state and keyword. That's the whole assignment, no cap. ✨
GET /legacy/issues/search/:owner/:repository/:state/:keyword

Examples:

my $search = Pithub::Search->new;
my $result = $search->issues(
    user    => 'plu',
    repo    => 'Pithub',
    state   => 'open',
    keyword => 'some keyword',
);

πŸ“š repos

  • Find repositories by keyword. But bestie, listen, this legacy method does not follow the v3 pagination pattern. It returns up to 100 results per page, and you fetch more pages with the start_page parameter. Different rules, different era, iconic honestly πŸ‘‘
GET /legacy/repos/search/:keyword

Examples:

my $search = Pithub::Search->new;
my $result = $search->repos(
    keyword => 'github',
    params  => {
        language   => 'Perl',
        start_page => 0,
    }
);

🫢 users

  • Find users by keyword. Simple. Clean. Main character energy. πŸ¦‹
GET /legacy/user/search/:keyword

Examples:

my $search = Pithub::Search->new;
my $result = $search->users(
    keyword => 'plu',
);

πŸ‘‘ AUTHOR πŸ‘‘

Johannes Plunien <plu@cpan.org> β€” the icon who wrote this, periodt πŸ’œ


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. Slay, honestly. πŸ“


Okay so this page is from perl v5.40.1, dated 2025-06-08, and yes the manual is literally called Pithub::Search(3pm). Go off, legacy API. πŸ’…βœ¨
πŸ“¦ where this page comes from