[英]Is there a way to get a list of all the releases in a GitHub repository?
[英]Listing all collaborators of Github repository
我正在嘗試在python腳本中獲取對github上給定存儲庫做出貢獻的所有用戶。 我已經使用urllib調用了Github API,但它為每個存儲庫僅返回了一個預定義列表(可能不是完整列表)。
我的電話看起來像
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
但是,它們都指向相同的json數據。
那么,我應該如何列出回購的所有參與者?
PS:我僅以https://github.com/jquery/jquery.git
的形式輸入。
對我來說,添加帶有?page=1
是可行的。 摘自Github開發者指南 。
https://api.github.com/repos/jquery/jquery/contributors?page=2&?access_token=fff
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.