compute internal cwl rankings for distributing league bonus.
The Highest ranked Player is sorted first in result file. Ranking is determined by net stars
(defensive stars given to opponent - stars gained in attacks )
this is a work in progress A table created by the sql script for attacks is expected to be present
- clone this repository and run
npm install
- put the desired clantag and your api Key along with the mariadb configuration in the .env file
- run
npm start
- see the results in mariadb with a query or tool like matabase
feature: have a cache to which ended war was already saved (dont throw them at maria)
- CLAN_TAG
- DB_HOST
- DB_USER
- DB_PASSWORD
- DB_PORT