A simple python script to track players using Clash of Clans API and Discord Webhooks to notify the user.
- Change the tags you want to track inside of "players.json" (e.g: [{"tag": "XXX", "name": "xxx"}])
- Replace "apikey" with your own API key to be able to make requests.
- To be notified on discord replace "webhook_url" with your own URL, results will be sent & saved anyways.
- Additionally you can also change the cooldown before checking again with your desired time. (5 mins by default)
Note: You're not obliged to add the names when creating the json structure, the script will fetch and add them automatically if you run it once.
git clone https://github.com/azurlul/tracker.git
cd tracker
py tracker.py| View inside of "ban.log" | Webhook result in Discord |
|---|---|