Skip to content

Instantly share code, notes, and snippets.

@hugodias
Created December 17, 2012 15:45
Show Gist options
  • Save hugodias/4319283 to your computer and use it in GitHub Desktop.
Save hugodias/4319283 to your computer and use it in GitHub Desktop.
Retrieve all gists from user
// https://github.com/ajaxorg/node-github
var GitHubApi = require("github");
var github = new GitHubApi({
version: "3.0.0"
});
github.gists.getFromUser({
user: "hugodias"
}, function(err, res) {
console.log(JSON.stringify(res));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment