Scrape users from any GitHub repo, and automatically ingest into Clay. This val scrapes the username of anyone who has created an issue, reacted to an issues, commented on an issue, reacted to the comments, starred, or forked any repo.
Click Remix on the top-right to get a copy of it
Set up a Clay workbook with a Webhook column
Copy your Clay workbook's Webhook URL
Set that as CLAY_WEBHOOK_URL in this val's Environment variables on the
left sidebar
In main.ts, replace GITHUB_REPO with the full repository name
(format: "owner/repo")
And that's it! The cron will run on your repo every 30 minutes from now on.
To test it out immediately, navigate to main.ts and click Run.
On larger repos, you may get rate-limited by GitHub. To mitigate this, Val Town uses a proxied fetch that reroutes requests using a proxy vendor so that requests obtain different IP addresses. It also automatically retries failed requests several times.