def repos(*args)
      params = arguments(args, required: [:q]).params
      params['q'] ||= arguments.q

      get_request('/search/repositories', arguments.params)
    end
def repos(*args)
      params = arguments(args, required: [:q]).params
      params['q'] ||= arguments.q

      get_request('/search/repositories', arguments.params)
    end
Search repositories

 Find repositories via various criteria.
 (This method returns up to 100 results per page.)

 @param [Hash] params
 @option params [String] :q
   The search keywords, as well as any qualifiers.
 @option params [String] :sort
   The sort field. One of stars, forks, or updated.
   Default: results are sorted by best match.
 @option params [String] :order
   The sort order if sort parameter is provided.
   One of asc or desc. Default: desc

 @example
   github = Github.new
   github.search.repos 'query'

 @example
   github.search.repos q: 'query'

 @api public