Pithub...lowers(3pm)

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

✨ 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 πŸ’–


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