Closed TobiGr closed 6 years ago
Displaying them one per page doesn't scale, it'd require n
requests for n
contributors. We could use something like https://api.github.com/repos/TeamNewPipe/NewPipe/contributors?per_page=10000
, using a ridiculously high number.
Yes, that's right.
The maximum number is 100. We have 198 contributors right now. We could start at 190 and get 10 or 20 per page. Then we can get the length
of the JSON object and do a little math :)
The number of contributors appears to be the monthly number of contributors and not the total. I couldn't find any matching entry in the GitHub API Docs (all were referring to the monthly one). This stackoverflow question could help us to fix it.