Skip to content

Instantly share code, notes, and snippets.

@benbalter
Created August 25, 2013 16:37
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 benbalter/6334846 to your computer and use it in GitHub Desktop.
Save benbalter/6334846 to your computer and use it in GitHub Desktop.
Builds list of contributors
#!/usr/bin/env ruby
require 'open-uri'
require 'json'
output = ""
contributors = JSON.parse(open("https://api.github.com/repos/project-open-data/project-open-data.github.io/contributors").read)
contributors.each do |contributor|
output += "- [ ] @#{contributor['login']} ([#{contributor['contributions']} contributions](https://github.com/project-open-data/project-open-data.github.io/commits?author=#{contributor['login']}))\n"
end
puts output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment