Command Line Interface¶
RiotSkillIssue includes a CLI tool for quick lookups and debugging.
Installation¶
The CLI is included with the package:
For enhanced output formatting, install with dev dependencies:
Configuration¶
Set your API key via environment variable:
Or pass it directly with --api-key:
Commands¶
summoner¶
Look up a summoner by Riot ID.
Arguments:
| Argument | Description |
|---|---|
name |
Riot ID in format GameName#TagLine |
--region |
Regional server (default: na1) |
--api-key |
API key (or use RIOT_API_KEY env var) |
Example:
$ riotskillissue-cli summoner "Agurin#EUW" --region euw1
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Summoner: Agurin#EUW ┃
┣━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┫
┃ Level │ PUUID ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩
│ 523 │ abc123... │
└───────────┴───────────────────────┘
match¶
Get match details by match ID.
Arguments:
| Argument | Description |
|---|---|
match_id |
Match ID (e.g., EUW1_7654321098) |
--region |
Platform routing (default: americas) |
--api-key |
API key (or use RIOT_API_KEY env var) |
Example:
$ riotskillissue-cli match "EUW1_7654321098" --region europe
Match EUW1_7654321098 loaded!
Game Mode: CLASSIC
Duration: 1847s
Error Handling¶
The CLI displays user-friendly error messages: