I am trying to fetch all the users who have contributed to a given repository on github within a python script. I have made calls to the Github API using urllib but it returns only a pre-defined list(and probably not a complete list) for each repository.
My calls look like
https://api.github.com/repos/jquery/jquery/contributors?page=2?access_token=fff
https://api.github.com/repos/jquery/jquery/contributors?page=1?access_token=fff
However, both of them point to the same json data.
So how should I list all contributors of the repo?
PS: I have input only in the form of https://github.com/jquery/jquery.git
.
Adding the page number with an ?page=1
works for me. From the Github Developer Guides .
https://api.github.com/repos/jquery/jquery/contributors?page=2&?access_token=fff
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.