Skip to content

Instantly share code, notes, and snippets.

@yvt
Created March 2, 2016 23:47
Show Gist options
  • Save yvt/b12a9bf0db08955acab8 to your computer and use it in GitHub Desktop.
Save yvt/b12a9bf0db08955acab8 to your computer and use it in GitHub Desktop.
Retriving GitHub download count stats
$ curl https://api.github.com/repos/yvt/Agiletimbres/releases | jq '[.[]|.assets] | flatten(1) | [.[] | {name: .name, count: .download_count}]'
[
{
"name": "Agiletimbres-0.0.2.zip",
"count": 142
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment