【发布时间】:2019-09-02 16:28:39
【问题描述】:
下面的代码将列出我所有的回购。但是有没有办法再添加 3 列来包括创建日期、语言和类型(例如 Sources / Forks)?我正在使用 PyGithub 包。
from github import Github
g = Github("user_name", "passwd")
for repo in g.get_user().get_repos():
print(repo.name)
【问题讨论】:
-
Github是什么包? PyPl 上有很多名字相似的东西。 -
点安装 PyGithub
标签: python github-api