op.gg REST API doesn't track featured game modes (URF, ARAM Mayhem/Brawl). Now uses Riot API for match history when RIOT_API_KEY env var is set, falling back to op.gg REST for profile/ranked stats (no key needed). - Add Riot API match fetcher with region routing (europe/americas/asia/sea) - Add DDragon champion ID→name mapping for Riot API matches - Add queue ID→name mapping (420=Ranked, 450=ARAM, 900=URF, etc.) - Transform Riot match data to existing MatchEntry interface - Batch match detail requests (5 at a time) for rate limit safety - Keep op.gg REST as fallback when no API key is configured Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||