Ruby code to fetch commit score for user on github
14 Jun 2017 Tags: | ruby github
The API endpoint to fetch the activities for a user on Github is as follow:
example -
https://api.github.com/users/<github_username>/events/public
The JSON response for the above call contains an area of events of different types, and each event has a score attached to it.
The following mapping shows the scores available:
Here is the a ruby program to fetch the commit score for a user on Github.
Thanks for reading!