DOKK / manpages / debian 10 / libpithub-perl / Pithub::SearchV3.3pm.en
Pithub::SearchV3(3pm) User Contributed Perl Documentation Pithub::SearchV3(3pm)

Pithub::SearchV3 - Github v3 Search API

version 0.01034

Find issues by state and keyword.

    GET /search/issues
    

Examples:

    my $search = Pithub::Search->new;
    my $result = $search->issues(
        q => 'some keyword',
    );
    

Find repositories by keyword.

    GET /search/repositories
    

Examples:

    my $search = Pithub::SearchV3->new;
    my $result = $search->repos(
        q => 'github language:Perl',
    );
    

Find users by keyword.

    GET /search/users
    

Examples:

    my $search = Pithub::SearchV3->new;
    my $result = $search->users(
        q => 'plu',
    );
    

Search code by keyword.

    GET /search/code
    

Examples:

    my $search = Pithub::SearchV3->new;
    my $result = $search->code(
        q => 'addClass repo:jquery/jquery',
    );
    

Johannes Plunien <plu@cpan.org>

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.

2018-03-17 perl v5.26.1