Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1000 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 1000 Bytes

get-contributors

get the contributors from any given github URL

usage

data

  • ../api-forks-#repository#/ is the incremental state
  • ../forks-#repository# is the final query
  • you will not get all of them, but the ones that are displayed in the github website will

This will create a folder just outside the repo, named api-forks-#repository#
All the files there are a 'state', incrementally used to parse the final query, this state design was chosen due to github-api download limit
If you see a "API limit reached" message just re-run the script some time later, nothing already downloaded will be re-downloaded

  • jp was not used because I needed to use $ cut for some things regardless
  • no database was used because this is meant to be an easy thing

btw you can increase the github-API download limit this way: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting