Is there any way to get how many times a git repository has been cloned or downloaded from github? I was just curious as I found other statistics such as commit times lines
I just find out there is an even simpler way to get it with a single command using the github API.
curl -u [username]:[password] https://api.github.com/repos/[owner]/[repo]/traffic/clones
here:
username = your github id
password = your github password, optional. If not put in command, a password request would pop out.
owner = the owner of the repo, might be another name for a organized repo
repo = the repo name
Have fun.