🛠️

GitHubリポジトリのReleaseファイルのダウンロード数を取得する

2021/11/19に公開

リリースに添付しているファイル(ソフトウェア)のダウンロード数を知りたくなった時に使えるシェル。

$ curl --silent --header "Accept: application/vnd.github.v3+json" https://api.github.com/repos/ユーザー名/リポジトリ名/releases > result.json

Discussion