1

How to get GitHub clone count using api. The below api helped me to get fork count and watcher count (https://www-github.com/api/v3/repos/Community/reponame ) . but couldn't find clone count. Is it possible to get fork ,watcher and clone count from single rest api?

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Learn Hadoop
  • 2,760
  • 8
  • 28
  • 60
  • 1
    Shouldn't that help: https://developer.github.com/v3/repos/traffic/#clones – Jan May 09 '18 at 10:32
  • @Jan.. thanks a lot.. i don't want breakup. just total count from beginning to as of now.. i looked at statistics api in github.. not helped me.. – Learn Hadoop May 09 '18 at 10:35
  • Well refering to this question here: https://stackoverflow.com/questions/6697557/is-there-a-way-to-get-download-clone-statistics-of-a-git-repository I think that maybe impossible. Didn't saw a statistic for whole clone count on github but maybe I've overseen something ;) – Jan May 09 '18 at 10:37
  • @Jan.. looking for option in api.. not through webui – Learn Hadoop May 09 '18 at 10:44
  • @AhmadShakib please do not spam the edit review-queue with single-character-edits. Make sure you thoroughly address all issues with posts you edit. – piet.t May 09 '18 at 10:47

1 Answers1

1

This feature doesn't seem to be exposed within the API. Similar question / answer found.

steadweb
  • 15,364
  • 3
  • 33
  • 47