githubpy
githubpy copied to clipboard
Commits count not coming
With the curl command:
curl -I --user "username:password" https://api.github.com/repos/
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?