NAME
Net::GitHub::V3::Search - GitHub Search API
SYNOPSIS
use Net::GitHub::V3;
my $gh = Net::GitHub::V3->new; # read L<Net::GitHub::V3> to set right authentication info
my $search = $gh->search;
DESCRIPTION
METHODS
Search
http://developer.github.com/v3/search/
- issues
-
my %data = $search->issues({ q => 'state:open repo:fayland/perl-net-github', sort => 'created', order => 'asc', }); print Dumper(\$data{items});
- repositories
-
my %data = $search->repositories({ q => 'perl', sort => 'stars', order => 'desc', }); print Dumper(\$data{items});
- code
-
my %data = $search->code({ q => 'addClass in:file language:js repo:jquery/jquery' }); print Dumper(\$data{items});
- users
-
my %data = $search->users({ q => 'perl', sort => 'followers', order => 'desc', }); print Dumper(\$data{users});
AUTHOR & COPYRIGHT & LICENSE
Refer Net::GitHub