Created
March 28, 2011 13:29
-
-
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'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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