DOKK / manpages / debian 11 / libpithub-perl / Pithub::Issues::Events.3pm.en
Pithub::Issues::Events(3pm) User Contributed Perl Documentation Pithub::Issues::Events(3pm)

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

version 0.01036

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 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',
        );
        

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