Skip to content

Instantly share code, notes, and snippets.

@nathany
Created May 8, 2010 18:36
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 nathany/394699 to your computer and use it in GitHub Desktop.
Save nathany/394699 to your computer and use it in GitHub Desktop.
# sudo gem install octopi
require "octopi"
include Octopi
y = User.find("yegrb")
y.public_repo_count
y.followers_count
y.gravatar_id
y.name, y.company, y.location, y.login, y.email
r = y.repositories.first
r.watchers
r.forks
r.fork = false
r.open_issues
r.url, r.homepage, r.description
r.commits.last
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment