githubpy icon indicating copy to clipboard operation
githubpy copied to clipboard

Commits count not coming

Open ukreddy-erwin opened this issue 6 years ago • 0 comments

With the curl command:

curl -I --user "username:password" https://api.github.com/repos///commits?per_page=1

will give a json output where at the "List=" section we will get number of commits in the repo for master branch.For other branch, we will add &sha='branch' at the end.

How to frame this in your python code?

ukreddy-erwin avatar Mar 13 '19 11:03 ukreddy-erwin