Skip to content

Instantly share code, notes, and snippets.

@jackmaney
Created August 26, 2013 22:57
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 jackmaney/6347665 to your computer and use it in GitHub Desktop.
Save jackmaney/6347665 to your computer and use it in GitHub Desktop.
Getting all starred repos
var https = require("https");
var util = require("util");
var output = "";
https.get("https://relevant.url.to.get.stars"
, function(res) {
res.on('data', function(d) {
output += d;
});
res.on('error',function(e){console.error(e);});
res.on('end',function(e){
console.log(JSON.parse(output));
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment