let github handle it? its what the ruby version does?

https://github.com/octokit/octokit.rb/blob/master/lib/octokit/client/search.rb