Pithub::Events(3pm) | User Contributed Perl Documentation | Pithub::Events(3pm) |
Pithub::Events - Github v3 Events API
version 0.01036
GET /repos/:user/:repo/issues/events
Examples:
my $e = Pithub::Events->new; my $result = $e->issue( user => 'plu', repo => 'Pithub', );
GET /networks/:user/:repo/events
Examples:
my $e = Pithub::Events->new; my $result = $e->network( user => 'plu', repo => 'Pithub', );
GET /orgs/:org/events
Examples:
my $e = Pithub::Events->new; my $result = $e->org( org => 'CPAN-API' );
GET /users/:user/events/orgs/:org
Examples:
my $e = Pithub::Events->new; my $result = $e->org( org => 'CPAN-API', user => 'plu', );
GET /events
Examples:
my $e = Pithub::Events->new; my $result = $e->public;
GET /repos/:user/:repo/events
Examples:
my $e = Pithub::Events->new; my $result = $e->repos( user => 'plu', repo => 'Pithub', );
GET /users/:user/events
If you are authenticated as the given user, you will see your private events. Otherwise, you'll only see public events.
Examples:
my $e = Pithub::Events->new; my $result = $e->user_performed( user => 'plu' ); # List public events performed by a user my $e = Pithub::Events->new; my $result = $e->user_performed( user => 'plu', public => 1, );
GET /users/:user/received_events
These are events that you've received by watching repos and following users. If you are authenticated as the given user, you will see private events. Otherwise, you'll only see public events.
Examples:
my $e = Pithub::Events->new; my $result = $e->user_received( user => 'plu' ); # List public events that a user has received my $e = Pithub::Events->new; my $result = $e->user_received( user => 'plu', public => 1, );
Johannes Plunien <plu@cpan.org>
This software is copyright (c) 2011-2019 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.
2021-02-15 | perl v5.32.1 |