RiotGames.LeagueOfLegends (riot_games_client v0.1.0)
Summary
Functions
Fetches the active game of a summoner.
Fetches a challenge configuration
Fetches a challenge leaderboard
Fetches the challenger league for a queue.
Fetches a list of all challenges for a given player
Fetches a list of all basic challenge configuration information
Fetches a map of level to percentile of players who have achieved it.
Fetches the champion masteries of a summoner.
Fetches the champion masteries score of a summoner.
Fetches the top champion masteries of a summoner.
Fetches the champion mastery score of a summoner.
Fetches the champion rotations
Fetches a map of level to percentile of players who have achieved it for a challenge
Fetches a clash player by puuid.
Fetches a clash player by summoner ID.
Fetches a clash team by ID.
Fetches clash tournament by tournament ID.
Fetches clash tournaments.
Fetches clash tournaments by team ID.
Fetches a list of featured games.
Fetches the grandmaster league for a queue.
Fetches a league with given ID.
Fetches all the league entries
Fetches the master league for a queue.
Fetches a match by match ID.
Fetches a match timeline by match ID.
Fetches a list of match IDs for a player.
Fetches the status of the platform.
Fetches a summoner by account ID.
Fetches a summoner by summoner ID.
Fetches a summoner by name.
Fetches a summoner by PUUID.
Fetches the leagues of a summoner.
Functions
active_game_by_summoner(region, summoner_id)
Fetches the active game of a summoner.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.
challenge_config(region, challenge_id)
Fetches a challenge configuration
Required
region
- The region to fetch content for.challenge_id
- The challenge ID.
challenge_leaderboard(region, challenge_id, level, limit \\ nil)
Fetches a challenge leaderboard
Required
region
- The region to fetch content for.challenge_id
- The challenge ID.level
- The challenge level. Valid values: MASTER, GRANDMASTER, and CHALLENGER
Optional
limit
- The number of entries to fetch.
challenger_league(region, queue)
Fetches the challenger league for a queue.
Required
region
- The region to fetch content for.queue
- The queue type. Valid values: RANKED_SOLO_5x5, RANKED_FLEX_SR, RANKED_FLEX_TT, RANKED_TFT
challenges_by_player(region, puuid)
Fetches a list of all challenges for a given player
Required
region
- The region of the player.puuid
- The player ID.
challenges_config(region)
Fetches a list of all basic challenge configuration information
Required
region
- The region to fetch content for.
challenges_percentiles(region)
Fetches a map of level to percentile of players who have achieved it.
Required
region
- The region to fetch content for.
champion_masteries(region, summoner_id)
Fetches the champion masteries of a summoner.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.
champion_masteries_score(region, summoner_id)
Fetches the champion masteries score of a summoner.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.
champion_masteries_top(region, summoner_id, count \\ 3)
Fetches the top champion masteries of a summoner.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.
Optional
count
- The number of top champion masteries to fetch. Defaults to 3.
champion_mastery(region, summoner_id, champion_id)
Fetches the champion mastery score of a summoner.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.champion_id
- The champion ID.
champion_rotations(region)
Fetches the champion rotations
Required
region
- The region to fetch content for.
chellenge_percentile(region, challenge_id)
Fetches a map of level to percentile of players who have achieved it for a challenge
Required
region
- The region to fetch content for.challenge_id
- The challenge ID.
clash_player_by_puuid(region, puuid)
Fetches a clash player by puuid.
Required
region
- The region of the player.puuid
- The player ID.
clash_player_by_summoner_id(region, summoner_id)
Fetches a clash player by summoner ID.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.
clash_team(region, team_id)
Fetches a clash team by ID.
Required
region
- The region of the team.team_id
- The team ID.
clash_tournament(region, tournament_id)
Fetches clash tournament by tournament ID.
Required
region
- The region of the tournament.tournament_id
- The tournament ID.
clash_tournaments(region)
Fetches clash tournaments.
Required
region
- The region of the tournaments.
clash_tournaments_by_team(region, team_id)
Fetches clash tournaments by team ID.
Required
region
- The region of the team.team_id
- The team ID.
featured_games(region)
Fetches a list of featured games.
Required
region
- The region of the games.
grandmaster_league(region, queue)
Fetches the grandmaster league for a queue.
Required
region
- The region of the league.queue
- The queue type. Valid values: RANKED_SOLO_5x5, RANKED_FLEX_SR, RANKED_FLEX_TT
league(region, league_id)
Fetches a league with given ID.
Required
region
- The region of the league.league_id
- The league ID.
league_entries(region, queue, tier, division, page \\ 1)
Fetches all the league entries
Required
region
- The region of the league.queue
- The queue type. Valid values: RANKED_SOLO_5x5, RANKED_FLEX_SR, RANKED_FLEX_TTtier
- The tier type. Valid values: CHALLENGER, GRANDMASTER, MASTER, DIAMOND, PLATINUM, GOLD, SILVER, BRONZE, IRONdivision
- The division type. Valid values: I, II, III, IV
Optional
page
- The page to use for pagination. Defaults to 1.
master_league(region, queue)
Fetches the master league for a queue.
Required
region
- The region of the league.queue
- The queue type. Valid values: RANKED_SOLO_5x5, RANKED_FLEX_SR, RANKED_FLEX_TT
match(region, match_id)
Fetches a match by match ID.
Required
region
- The region of the match. Valid values: "americas", "asia", "europe", and "sea".match_id
- The match ID.
match_timeline(region, match_id)
Fetches a match timeline by match ID.
Required
region
- The region of the match. Valid values: "americas", "asia", "europe", and "sea".match_id
- The match ID.
matches_by_player(region, puuid, opts \\ [])
Fetches a list of match IDs for a player.
Required
region
- The region of the player. Valid values: "americas", "asia", "europe", and "sea".puuid
- The player puuid.
Optional
startTime
- The start time to use for filtering match IDs.endTime
- The end time to use for filtering match IDs.queue
- The queue to use for filtering match IDs.type
- The type to use for filtering match IDs.start
- The start index to use for filtering match IDs.count
- The count to use for filtering match IDs.
status(region)
Fetches the status of the platform.
Required
region
- The region to status of.
summoner_by_account_id(region, account_id)
Fetches a summoner by account ID.
Required
region
- The region of the summoner.account_id
- The account ID.
summoner_by_id(region, id)
Fetches a summoner by summoner ID.
Required
region
- The region of the summoner.id
- The summoner ID.
summoner_by_name(region, name)
Fetches a summoner by name.
Required
region
- The region of the summoner.name
- The summoner name.
summoner_by_puuid(region, puuid)
Fetches a summoner by PUUID.
Required
region
- The region of the summoner.puuid
- The summoner PUUID.
summoner_leagues(region, summoner_id)
Fetches the leagues of a summoner.
Required
region
- The region of the summoner.summoner_id
- The summoner ID.