Contributors
Definition
Contributors is a metric defined by the CHAOSS community. For a detailed definition of this metric, please refer to CHAOSS Metrics - Contributors.
A contributor is defined as anyone who contributes to the project in any way. This metric ensures that all types of contributions are fully recognized in the project.
Contributors are a key metric for understanding the health of a project. They are the lifeblood of a project, and their contributions are what make the project successful.
Data
- Link (base):
https://oss.open-digger.cn/{platform}/{owner}/{repo}/contributors.json
- Link (detail):
https://oss.open-digger.cn/{platform}/{owner}/{repo}/contributors_detail.json
To get the data for a certain repository, replace {platform}
, {owner}
and {repo}
with the actual name. For the base variant, here is an example, and for the detailed variant, refer to this example.
Code
Here's the implementation code.