【发布时间】:2014-03-19 03:39:22
【问题描述】:
我正在尝试构建一种方法,在该方法中我可以访问 Github 用户名,并发布该用户的所有提交或至少一些提交。
是否调用了 GET user/repo/commit 关联或直接用户/commit?
现在,我认为需要做的是:
获取与特定名称关联的存储库:
api.github.com/users/:name/repos.从 feed 中获取 repo 名称。
将 repo 名称放在数组中,例如:
api.github.com/repos/:user/:repo1/commits
api.github.com/repos/:user/:repo2/commits
api.github.com/repos/:user/:repo3/commits
- 从提要中获取 shas 的数量?
【问题讨论】:
-
使用 graphql 对此有何更新?
标签: api github github-api