This is a Cloudflare Worker for updating global data files hosted on Github from the Droptop Four API.
npm installto install all dependencies- Create
.dev.varsfor the secrets npm run devto start the worker with secrets- To test the scheduled event, you can use
curl "http://localhost:8787/__scheduled?cron=*+*+*+*+*" - Push to github to deploy