Class LeagueOfLegendsClient

java.lang.Object
io.github.cobas91.lol.client.LeagueOfLegendsClient

public class LeagueOfLegendsClient extends Object
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 Details

  • Method Details

    • getAllMatchesByRiotId

      public List<Match> getAllMatchesByRiotId(String name, String tag)
      Retrieves all matches for a given Riot ID. RiotId Example: Cobas#1505 -> Cobas = name, 1505 -> tag
      Parameters:
      name - the name of the summoner
      tag - the tag of the summoner
      Returns:
      a List of Match objects containing the summoner's last 20 matches
    • builder

      public static LeagueOfLegendsClientBuilder builder(RiotSettings settings)