logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Net::GitHub::V3::Search - GitHub Search API

Description

METHODSSearch

       <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});

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;

See Also