[英]How to find the latest git issue number on github using python?
I need to find the latest git issue number for a repository using python for all users rather than an authenticated user. 我需要为所有用户而不是经过身份验证的用户使用python为存储库找到最新的git问题编号。 Is there any way i could do this? 有什么方法可以做到这一点吗? either through the API or any library? 通过API或任何库? I looked at the github docs and from my understanding it is not possible to list issues for all users but only authenticated users. 我查看了github文档,根据我的理解,不可能列出所有用户的问题,只有经过身份验证的用户。 I looked at pygithub where all i could find was how to create an issue through the library 我看着pygithub,我能找到的是如何通过库创建问题
@Kevin Vizalil @Kevin Vizalil
You can use the Github API's to get the list of issues or single issue 您可以使用Github API获取问题列表或单个问题
please check https://developer.github.com/v3/issues/#list-issues
请查看https://developer.github.com/v3/issues/#list-issues
edit: 编辑:
eg https://api.github.com/repos/vmg/redcarpet/issues?sort=created&direction=desc
例如https://api.github.com/repos/vmg/redcarpet/issues?sort=created&direction=desc
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.