Pithub...atching(3pm)
π NAME π
Pithub::Repos::Watching β bestie, this is the Github v3 Repo Watching API module, and it's literally your remote control for the whole "am I watching this repo or not" situation β¨
π VERSION π
version 0.01043 β that's the one, no cap π«Ά
π METHODS π
πΈ is_watching
- Check if you are watching a repo π
GET /user/watched/:user/:repo
Examples:
my $w = Pithub::Repos::Watching->new;
my $result = $w->is_watching(
repo => 'Pithub',
user => 'plu',
);
Like, just a lil vibe check on whether you're a watcher. So simple, so iconic π
π¦ list_repos
- List repos being watched by a user π
GET /users/:user/watched
Examples:
my $w = Pithub::Repos::Watching->new;
my $result = $w->list_repos( user => 'plu' );
- List repos being watched by the authenticated user πββοΈ
GET /user/watched
Examples:
my $w = Pithub::Repos::Watching->new;
my $result = $w->list_repos;
Not me calling the exact same method with no args to get my own watched list. Two moods, one method, main character energy fr fr π₯
β list
- List watchers π₯
GET /repos/:user/:repo/watchers
Examples:
my $w = Pithub::Repos::Watching->new;
my $result = $w->list(
user => 'plu',
repo => 'Pithub',
);
Okay so this one is the flip side β instead of the repos you're watching, it's the people watching a repo. The way that these two are opposite but equal ππ
π start_watching
- Watch a repo π
PUT /user/watched/:user/:repo
Examples:
my $w = Pithub::Repos::Watching->new;
my $result = $w->start_watching(
user => 'plu',
repo => 'Pithub',
);
Hitting that watch button but in code. Ate, honestly β¨
π stop_watching
- Stop watching a repo π
DELETE /user/watched/:user/:repo
Examples:
my $w = Pithub::Repos::Watching->new;
my $result = $w->stop_watching(
user => 'plu',
repo => 'Pithub',
);
The un-watch. The goodbye. The "it's not you, it's my notifications" π₯² Sending it off with grace, periodt.
π AUTHOR π
Johannes Plunien <plu@cpan.org> β the icon, the legend, the one who wrote all of 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.
π§ That's the whole page, bestie! Go watch some repos (responsibly) π«Ά
perl v5.40.1 Β· 2025-06-08 Β· Pithub...atching(3pm) β mwah, bye π πΈ
π¦ 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