kindred v0.0.1 Kindred.ChampionMastery

Implements the Champion Mastery endpoint: https://developer.riotgames.com/api/methods#!/1034

Summary

Functions

Gets a Summoners Champion Mastery for the specified champion

Gets all Champion Masteries for a Summoner

Gets Champion Mastery score for a Summoner

Gets a Summoners top Champions

Functions

get_champion(summonerId, championId, region)

Gets a Summoners Champion Mastery for the specified champion

Args:

  • summonerId - Summoner ID
  • championId - Champion ID
  • region - Region as an atom (:NA, :EUW, EUNE, :KR, :BR, :LAN, :LAS, :OCE, :TR, :RU, :PBE)
get_champions(id, region)

Gets all Champion Masteries for a Summoner

Args:

  • summonerId - Summoner ID
  • region - Region as an atom (:NA, :EUW, EUNE, :KR, :BR, :LAN, :LAS, :OCE, :TR, :RU, :PBE)
get_score(summonerId, region)

Gets Champion Mastery score for a Summoner

Args:

  • summonerId - Summoner ID
  • region - Region as an atom (:NA, :EUW, EUNE, :KR, :BR, :LAN, :LAS, :OCE, :TR, :RU, :PBE)
get_top(summonerId, region)

Gets a Summoners top Champions

Args:

  • summonerId - Summoner ID
  • region - Region as an atom (:NA, :EUW, EUNE, :KR, :BR, :LAN, :LAS, :OCE, :TR, :RU, :PBE)