damoster / royale_clan_card_level_ranker_bot

Discord bot which ranks members in a specific clan according to how many cards of a certain level they have. Comparison starts from number of level 13 cards they have. If it's a tie, card count of the next card level lower is used (e.g. level 12 card count) and so on. This is useful for deciding order of players for boat defenses in clan wars 2.0
MIT License
2 stars 0 forks source link

Feature: API to check remaining war attacks on current war #52

Closed josephwccheng closed 2 years ago

josephwccheng commented 2 years ago

Notes on Response body

Can use the following endpoint to determine the clans that are participating in the riverwar respective to the clan tag as the input:

https://api.clashroyale.com/v1/clans/<clan_tag>/currentriverrace

example: where <clan_tag> is %239GULPJ9L for ausclan

Note:

How to get remainingPlayer

Note: != 0 can tell us how many minis we can bring into the clan

Output requirements

Steps:

  1. Ingest clash royale currentriverrace and clan API and format it into appropriate data structure
  2. Transform the ingested data into the summary table above
  3. Display table into discord bot
josephwccheng commented 2 years ago
image