Track number of download of a release (binaries) on Github

github

Solution

You can use the GitHub API to get the `download_count` among other things for a single release asset:

http://developer.github.com/v3/repos/releases/#get-a-single-release-asset

This is how it looks currently, but please check the link above just in case anything changed since this answer was written.

` GET /repos/:owner/:repo/releases/assets/:id `

` { "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", "id": 1, "name": "example.zip", "label": "short description", "state": "uploaded", "content_type": "application/zip", "size": 1024, "download_count": 42, "created_at": "2013-02-27T19:35:32Z", "updated_at": "2013-02-27T19:35:32Z" } `

Problem

So now you can manage and publish your binaries directly on Github, the feature is back from early this month (source). I've been looking around Github interface and I haven't seen a download tracker. This is a feature Google Code offer and I was wondering if Github has the same. Please note, I am not interested to know the number of download of a repo, this is a different topic.

Original source

Related problems