Skip to content

Instantly share code, notes, and snippets.

@hhsnopek
Last active January 15, 2016 23:26
Show Gist options
  • Save hhsnopek/2abad2c18385bee1ee6d to your computer and use it in GitHub Desktop.
Save hhsnopek/2abad2c18385bee1ee6d to your computer and use it in GitHub Desktop.
import request from 'request';
for user in users {
request('https://api.github.com/').get(user);
// get all repos for user
for repo in repos {
// after getting all repos from user
// search all branches that match `gh-pages`
// add results, if found, to data obj
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment