For example, you can get the metadata of your latest release by making a
GET
request:https://api.github.com/repos/<username>/<repo_name>/releases/latest
It returns a
json
payload, which has a download_count
for each asset.Ref:
Getting the download count for your releases - User Documentation
Releases | GitHub API
No comments:
Post a Comment