RiotGames.LeagueOfLegends (riot_games_client v0.1.0)

Summary

Functions

Fetches the active game of a summoner.

Fetches a challenge configuration

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 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

Link to this function

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.
Link to this function

challenge_config(region, challenge_id)

Fetches a challenge configuration

Required

  • region - The region to fetch content for.
  • challenge_id - The challenge ID.
Link to this function

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.
Link to this function

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
Link to this function

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.
Link to this function

challenges_config(region)

Fetches a list of all basic challenge configuration information

Required

  • region - The region to fetch content for.
Link to this function

challenges_percentiles(region)

Fetches a map of level to percentile of players who have achieved it.

Required

  • region - The region to fetch content for.
Link to this function

champion_masteries(region, summoner_id)

Fetches the champion masteries of a summoner.

Required

  • region - The region of the summoner.
  • summoner_id - The summoner ID.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

champion_rotations(region)

Fetches the champion rotations

Required

  • region - The region to fetch content for.
Link to this function

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.
Link to this function

clash_player_by_puuid(region, puuid)

Fetches a clash player by puuid.

Required

  • region - The region of the player.
  • puuid - The player ID.
Link to this function

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.
Link to this function

clash_team(region, team_id)

Fetches a clash team by ID.

Required

  • region - The region of the team.
  • team_id - The team ID.
Link to this function

clash_tournament(region, tournament_id)

Fetches clash tournament by tournament ID.

Required

  • region - The region of the tournament.
  • tournament_id - The tournament ID.
Link to this function

clash_tournaments(region)

Fetches clash tournaments.

Required

  • region - The region of the tournaments.
Link to this function

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.
Link to this function

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
Link to this function

league(region, league_id)

Fetches a league with given ID.

Required

  • region - The region of the league.
  • league_id - The league ID.
Link to this function

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_TT
  • tier - The tier type. Valid values: CHALLENGER, GRANDMASTER, MASTER, DIAMOND, PLATINUM, GOLD, SILVER, BRONZE, IRON
  • division - The division type. Valid values: I, II, III, IV

Optional

  • page - The page to use for pagination. Defaults to 1.
Link to this function

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
Link to this function

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.
Link to this function

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.
Link to this function

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.

Fetches the status of the platform.

Required

  • region - The region to status of.
Link to this function

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.
Link to this function

summoner_by_id(region, id)

Fetches a summoner by summoner ID.

Required

  • region - The region of the summoner.
  • id - The summoner ID.
Link to this function

summoner_by_name(region, name)

Fetches a summoner by name.

Required

  • region - The region of the summoner.
  • name - The summoner name.
Link to this function

summoner_by_puuid(region, puuid)

Fetches a summoner by PUUID.

Required

  • region - The region of the summoner.
  • puuid - The summoner PUUID.
Link to this function

summoner_leagues(region, summoner_id)

Fetches the leagues of a summoner.

Required

  • region - The region of the summoner.
  • summoner_id - The summoner ID.