开发者

Question using github API

I'm using the Github API for a personal side project (more specifically, Octokit as a Ruby wrapper for it), and am running into a little trouble. I can't seem to figure out how to see the number of commits/merged pushes a repo has had.

I see in the Repos section of the Github V2 API (in show repo information), it shows pushed_at, which is the latest push.

If I were to want to retrie开发者_如何转开发ve the last 5 or so commits/merged pushes, do you know how I could go about doing that?

Thank you!


You probably want to look into the Commits API, rather than the Repository API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜