CONTEXT.md holds the glossary agreed during the design interview and the French word shown in the interface for each term. The three ADRs record the two data sources, GPUI through gpui-kit pinned at 0.9.1, and building with the Windows toolchain driven from WSL. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1.0 KiB
1.0 KiB
status
| status |
|---|
| accepted |
Two data sources: the local game client and the Riot API
The app reads the local League client API for the active Account and for live state (champ select, end of a Match), and the Riot web API for Match history. We accept the cost of a second integration and a personal Riot API key because the client alone cannot backfill: measured on 2026-11-15, its match history endpoint returns only the 20 most recent games across all game modes and ignores paging, while the Riot API keeps about two years.
Considered Options
- Client only: no API key, but history limited to 20 recent games, so past Seasons and any Match played while the app was closed for long would be lost.
- Riot API only: full history, but no knowledge of which Account is signed in and no champ select.
Consequences
- The client API is unofficial and may change between patches; the app must keep working on stored Matches when it is unavailable.
- The app only ever reads from the client. It never picks, bans or acts on the player's behalf.