Skip to content

Instantly share code, notes, and snippets.

@chrishamant
Created March 28, 2011 13:29
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 chrishamant/890449 to your computer and use it in GitHub Desktop.
Save chrishamant/890449 to your computer and use it in GitHub Desktop.
quick and dirty command line tools I use to grep out projects 'I know I saved somewhere'
#!/usr/bin/env node
var rest = require('restler');
rest.get('http://github.com/api/v2/json/repos/watched/{username}').on('complete', function(data) {
data.repositories.forEach(function(repo){
console.log(repo.owner + "/"+ repo.name + " , " + repo.description + " , " + repo.language);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment