Pithub...lowers(3pm)
β¨ NAME β¨
Pithub::Users::Followers β it's the Github v3 User Followers API π bestie, this is the little Perl module that lets you do all the follow/unfollow/stalking-adjacent stuff on GitHub, no cap.
π VERSION π
version 0.01043 β yeah it's got a whole lot of digits, she's been around, she's iconic π
πΈ METHODS πΈ
π follow
- Follow a user β literally just hit follow, main character move π«Ά
PUT /user/following/:user
Examples:
my $f = Pithub::Users::Followers->new( token => 'b3c62c6' );
my $result = $f->follow( user => 'plu' );
π¦ is_following
- Check if the authenticated user is following another given user β the vibe check, but for follow relationships π
GET /user/following/:user
Examples:
my $f = Pithub::Users::Followers->new( token => 'b3c62c6' );
my $result = $f->is_following( user => 'rafl' );
if ( $result->is_success ) {
print "plu is following rafl\n";
}
elsif ( $result->code == 404 ) {
print "plu is not following rafl\n";
}
π list
- List a user's followers: β everybody who's in their comments section, basically π
GET /users/:user/followers
Examples:
my $f = Pithub::Users::Followers->new;
my $result = $f->list( user => 'plu' );
- List the authenticated user's followers: β same thing but it's you, and it's your fan club β¨
GET /user/followers
Examples:
my $f = Pithub::Users::Followers->new( token => 'b3c62c6' );
my $result = $f->list;
π§ list_following
- List who a user is following: β their following list, their whole curated feed of faves π
GET /users/:user/following
Examples:
my $f = Pithub::Users::Followers->new;
my $result = $f->list_following( user => 'plu' );
- List who the authenticated user is following: β your own following list, your personal lineup π
GET /user/following
Examples:
my $f = Pithub::Users::Followers->new( token => 'b3c62c6' );
my $result = $f->list_following;
π unfollow
- Unfollow a user β the block button's softer cousin, the quiet unfollow π
DELETE /user/following/:user
Examples:
my $f = Pithub::Users::Followers->new;
my $result = $f->unfollow( user => 'plu' );
π AUTHOR π
Johannes Plunien <plu@cpan.org> β the icon, the legend, the one who wrote all this π
π 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 was rendered with perl v5.40.1 on 2025-06-08 β mwah, slay, periodt π
β¨
π¦ 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