GitHub is the Wikipedia of code. Not all the pieces in GitHub may be taken without any consideration but it surely incorporates the essence and historical past of how among the finest software program instruments are created.
It’d be a disgrace to not have an API for accessing such a invaluable useful resource. Fortunately, we do have one and it’s referred to as, surprisingly, GitHub API.
Let me first point out what this text shouldn’t be about. We received’t be speaking about git feedback or how you can use git in software program improvement.
This text is extra about utilizing GitHub API for analytical functions. The at first requirement for analytics is knowledge and GitHub has a number of it.
The quantity and number of data we are able to get from GitHub API is solely superb. Additionally, it’s a nicely maintained and documented API so we received’t have a tough time getting the knowledge we’d like.
We will get a number of knowledge from GitHub API corresponding to:
- Commits per pull request
- Folder and file construction of a repository
- Common variety of recordsdata edited per commit
- Developer-based knowledge corresponding to who pushed essentially the most commits within the final month
- File-based knowledge corresponding to…