如何使用 python 在 github 上找到最新的 git 期号?

How to find the latest git issue number on github using python?

我需要为所有用户而不是经过身份验证的用户使用 python 查找存储库的最新 git 问题编号。 有什么办法可以做到这一点?通过 API 或任何图书馆? 我查看了 github 文档,根据我的理解,不可能列出所有用户的问题,只能列出经过身份验证的用户。 我查看了 pygithub,在那里我能找到的只是如何通过库

创建一个问题

@Kevin Vizalil

您可以使用 Github API 获取问题列表或单个问题

请检查https://developer.github.com/v3/issues/#list-issues

编辑:

例如https://api.github.com/repos/vmg/redcarpet/issues?sort=created&direction=desc