Scroll to navigation

Pithub::Issues::Events(3pm) User Contributed Perl Documentation Pithub::Issues::Events(3pm)

NAME

Pithub::Issues::Events - Github v3 Issue Events API

VERSION

version 0.01039

METHODS

get

Get a single event

    GET /repos/:user/:repo/issues/events/:id
    

Examples:

    my $e = Pithub::Issues::Events->new;
    my $result = $e->get(
        repo     => 'Pithub',
        user     => 'plu',
        event_id => 1,
    );
    

list

  • List events for an issue

        GET /repos/:user/:repo/issues/:issue_id/events
        

    Examples:

        my $e = Pithub::Issues::Events->new;
        my $result = $e->list(
            repo     => 'Pithub',
            user     => 'plu',
            issue_id => 1,
        );
        
  • List events for a repository

        GET /repos/:user/:repo/issues/events
        

    Examples:

        my $e = Pithub::Issues::Events->new;
        my $result = $e->list(
            repo => 'Pithub',
            user => 'plu',
        );
        

AUTHOR

Johannes Plunien <plu@cpan.org>

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.

2022-08-12 perl v5.34.0