You can use the GitHub API for that:
- Use /user/:user/repos to get all repositories
- Then use /repos/:owner/:repo/stats/contributors to get the contributors (and their additions / deletions) on those repositories
Question
I want to get the total number of lines of code that an account on GitHub has done. This is not for judging productivity or whatever (LOC is a poor choice for that), it's really just for our amusement.
Is it possible to get the total number of lines of code that an Account on GitHub (by email address or handle) has done?
Solution
You can use the GitHub API for that: