Created
March 2, 2016 23:47
-
-
Save yvt/b12a9bf0db08955acab8 to your computer and use it in GitHub Desktop.
Retriving GitHub download count stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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