Skip to content

Instantly share code, notes, and snippets.

@jackmaney
Created August 26, 2013 22:57
Show Gist options
  • 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