Class LeagueOfLegendsClientBuilder

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

public class LeagueOfLegendsClientBuilder extends Object
The LeagueOfLegendsClientBuilder class is responsible for building instances of LeagueOfLegendsClient. It provides methods to configure the ChampionDownloader and SummonerDownloader objects used by the client. The API token is also set using the withSummonerDownloader method.
  • Method Details

    • withSummonerDownloader

      public LeagueOfLegendsClientBuilder withSummonerDownloader()
      The LeagueOfLegendsClientBuilder class is responsible for building instances of LeagueOfLegendsClient. It provides methods to configure the ChampionDownloader and SummonerDownloader objects used by the client. The API token is also set using the withSummonerDownloader method.
    • withChampionDownloader

      public LeagueOfLegendsClientBuilder withChampionDownloader()
      Sets the ChampionDownloader with the specified language.
      Returns:
      The LeagueOfLegendsClientBuilder object with the ChampionDownloader set.
    • withMatchDownloader

      public LeagueOfLegendsClientBuilder withMatchDownloader()
      Sets the MatchDownloader object for the LeagueOfLegendsClientBuilder.
      Returns:
      The LeagueOfLegendsClientBuilder object with the MatchDownloader set.
    • build

      public LeagueOfLegendsClient build()