-
Notifications
You must be signed in to change notification settings - Fork 557
feat: add GitHub used by metric #507
Comments
Yeah I'm in agreement 👍👍 |
where can I find this metric ? |
GitHub displays it on individual repos, check the top of ours for example. I assume it's available through their API as well. Sent with GitHawk |
How is this metric added to a repository? |
I would also like to know how this metric is added to a repository. |
After some digging it seems that this metric is reliant on https://github.com/netlify/staticgen/network/dependents Which in this case is none, at least according to github. |
@nticaric GitHub shows package metrics for projects that use a package manager, eg. if your repo has a @douglasg14b this issue isn't about the package metrics for the staticgen repo, it's about package metrics for the projects shown on the site. Sent with GitHawk |
Is there an api that will provide used by information, stars information? |
The data is in this gist, updated daily and keeps 60 days history: https://gist.github.com/netlify-bot/99f2094783ddb2025bd1033f666c34cc#file-staticgen-archive-json Sent with GitHawk |
@erquhart If it was addressed to me, i am very sorry, not clear... please elaboarate. I can only see code, no api info |
There is no API, the site uses the GitHub Gist API to fetch and update the JSON file in that Gist. Sent with GitHawk |
It’s an array arrays, each array has shape:
Sent with GitHawk |
GitHub introduced a new metric, which I find much more relevant than stars or downloads. It shows the number of times a dependency is used by other repositories.
It would be nice to have that metric added to Staticgen for static site generators distributed as a package.
The text was updated successfully, but these errors were encountered: