Scroll to navigation

Pithub::SearchV3(3pm) User Contributed Perl Documentation Pithub::SearchV3(3pm)

NAME

Pithub::SearchV3 - Github v3 Search API

VERSION

version 0.01041

METHODS

issues

Find issues by state and keyword.

    GET /search/issues
    

Examples:

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

repos

Find repositories by keyword.

    GET /search/repositories
    

Examples:

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

users

Find users by keyword.

    GET /search/users
    

Examples:

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

code

Search code by keyword.

    GET /search/code
    

Examples:

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

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.

2023-09-02 perl v5.36.0