This repo is a traduction of https://github.com/bkorecic/cses-standings into a php api.
Clone the repo and:
- Run the
schema.sql
file in your mysql server. - Add your mysql credentials in the files
/api/cses-tasks/index.php
and/cron/cses-job.php
- Implement the
/cron/cses-get-ids.php
file to return an array with the user ids you want to keep track of. - Schelude the
/cron/cses-job.php
file, it's recomended to use a time interval of 5 minutes or more.