Skip to content

Instantly share code, notes, and snippets.

@andymckay
Created August 15, 2018 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andymckay/e010d21d986ec05d1eb785e07e374c1d to your computer and use it in GitHub Desktop.
Save andymckay/e010d21d986ec05d1eb785e07e374c1d to your computer and use it in GitHub Desktop.
require 'octokit'
client = Octokit::Client.new(:access_token => ENV['PERSONAL_ACCESS_TOKEN'])
repos = client.repos({}, query: {type: 'owner', sort: 'asc'})
repos.each {
|repo| puts repo.html_url
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment