Package io.github.cobas91.lol.client
Class LeagueOfLegendsClient
java.lang.Object
io.github.cobas91.lol.client.LeagueOfLegendsClient
The LeagueOfLegendsClient class represents a client for interacting with the League of Legends API.
It provides methods to retrieve the current available versions of the game and to download champion and summoner data.
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic LeagueOfLegendsClientBuilder
builder
(RiotSettings settings) getAllMatchesByRiotId
(String name, String tag) Retrieves all matches for a given Riot ID.
-
Constructor Details
-
LeagueOfLegendsClient
-
-
Method Details
-
getAllMatchesByRiotId
Retrieves all matches for a given Riot ID. RiotId Example: Cobas#1505 -> Cobas = name, 1505 -> tag- Parameters:
name
- the name of the summonertag
- the tag of the summoner- Returns:
- a List of Match objects containing the summoner's last 20 matches
-
builder
-