dude,

'For requests using Basic Authentication or OAuth, you can make up to 5,000
requests per hour. For unauthenticated requests, the rate limit allows you
to make up to 60 requests per hour.'

the client is the what doing the authentication. :-)


On Mon, Aug 12, 2013 at 2:16 PM, Asaf Gartner <notifications@github.com>wrote:

> In app/services/github/repo_searcher.rb:
>
> > +
> > +    private
> > +
> > +    def search_results
> > +      @search_results ||= github_client.new_search_repositories(search_query, search_options)
> > +    end
> > +
> > +    def valid_results?
> > +      search_results.present? and search_results.total_count > 0
> > +    end
> > +
> > +    def parse_results
> > +      search_results.items.map{ |repo| RepoSearchResult.new(repo) }
> > +    end
> > +
> > +    # we create a client to handle Github's Rate Limiting
>
> It's still not clear how this solves the problem.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/TheGiftsProject/katalog/pull/6/files#r5707108>
> .
>