3

I am using the below GitHub API call that is returning the stats from one of our repo's. The request is returning the data I need, but I am running into a known limitation with this API call that it will only show the top 100 contributors to the repo. We have around 500 contributors so I need to know any known work arounds to get this similar data beyond the top 100 contributors? I have tried to attached the ?page=2 however I did not see that work as well.

Here is the GitHub documentation for get-all-contributor-commit-activity That I am reading to make this request.

GET Request /repos/{owner}/{repo}/stats/contributors

JSON Retruned:

[
    {
        "total": 10,
        "weeks": [
            {
                "w": 1483833600,
                "a": 0,
                "d": 0,
                "c": 0
            }
        ],
        "author": {
            "login": "<some user>"
        }
    }
]
Max Powers
  • 999
  • 2
  • 21
  • 48

0 Answers0