Update June 2026 API fixtures#1
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 706052149a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "small": "https://api-assets.clashofclans.com/leagues/72/R2zmhyqQ0_lKcDR5EyghXCxgyC9mm_mVMIjAbmGoZtw.png", | ||
| "tiny": "https://api-assets.clashofclans.com/leagues/36/R2zmhyqQ0_lKcDR5EyghXCxgyC9mm_mVMIjAbmGoZtw.png", | ||
| "medium": "https://api-assets.clashofclans.com/leagues/288/R2zmhyqQ0_lKcDR5EyghXCxgyC9mm_mVMIjAbmGoZtw.png" |
There was a problem hiding this comment.
Use league-tier icon assets in player rankings
For /locations/{id}/rankings/players, the newly added leagueTier object for Legend I reuses the legacy league.iconUrls (/leagues/...) instead of the tier-specific assets. The same tier in LISTLEAGUETIERS.json and the league-season rankings fixture uses /leaguetiers/..., so clients testing ranking UI against this endpoint will receive inconsistent artwork for the same leagueTier.id and can render the wrong badge.
Useful? React with 👍 / 👎.
Summary
leagueTier, current warduration, and current battle modifier values.Validation
uv run python -m unittest discover -s testspython3 -m unittest discover -s testspython3 -m compileall app testsgit diff --check