Is there a way to get access to the data in the “Repositories contributed to” module on GitHub profile pages via the GitHub API? Ideally the entire list, not just the top fi
I tried implementing something like this a while ago for a Github summarizer... My steps to get the repositories the user contributed to, which they didn't own, was as follows (going to use my own user as an example):
https://api.github.com/search/issues?q=type:pr+state:closed+author:megawac&per_page=100&page=1
https://api.github.com/repos/jashkenas/underscore/contributors
repos/:owner/:repo/contributors https://api.github.com/users/megawac/subscriptions
https://api.github.com/users/megawac/orgs
https://api.github.com/orgs/jsdelivr/repos
This misses repos where the user has submitted no pull requests but has been added as a contributor. We can increase our odds of finding these repos by searching for
1) any issue opened (not just closed pull requests)
2) repos the user has starred
Clearly, this requires many more requests than we would like to make but what can you do when they make you fudge features \o/