My teacher asked me to count how many times our github project has been downloaded. I know Github API can provide download counts for all releases, but in my case it doesn't work because we didn't upload archive files in releases. Is there another way to do this job? Maybe any tools in marketplace?
Asked
Active
Viewed 4,882 times
2
-
possible duplicate of [Github: Can I see the number of downloads for a repo?](https://stackoverflow.com/a/4339085/5517435) – Nisarg Aug 23 '18 at 20:53
-
Possible duplicate of [Github: Can I see the number of downloads for a repo?](https://stackoverflow.com/questions/4338358/github-can-i-see-the-number-of-downloads-for-a-repo) – Trooper Z Aug 23 '18 at 20:58
-
Thanks for your reply! I have read this one but someone said it's impossible to count downloads of non-asset files (Source code(zip) and Source code(tar.gz)). That was in 2016, can I do this now? – nick lin Aug 23 '18 at 20:59
1 Answers
0
someone said it's impossible to count downloads of non-asset files (Source code(zip) and Source code(tar.gz)). That was in 2016, can I do this now?
Not to my knowledge: those specific data are not publicly exposed.
Maybe GitHub support has access to internal data about those.
This is different from download_count for a release artifact (which is not the same as the project source code archive, zip or tgz).
See "List releases for a repository", which does include a download_count
field per asset.

VonC
- 1,262,500
- 529
- 4,410
- 5,250