GitHub-Clone-Scraper
GitHub-Clone-Scraper copied to clipboard
Python script that scrapes GitHub repositories to keep track of total clone counts. This is useful for projects that are NSF funded, where "impact" (total downloads) is required to be reported.
GitHub-Clone-Scraper
For various reasons, GitHub repo owners need to track the number of times their code is downloaded or cloned. GitHub allows repository owners to track clone counts in a sliding window via the
Who would use this?
The NSF requires that grant recipients report how many times there code has been downloaded. Since I convinced my advisor that GitHub would help me get a job one day, he forced me to figure out how to do this.
How can I use this?
Download the code and then set up a "cron" job to run the script every day, few days, week. GitHub seems to keep clone information for two weeks.