godfist v0.5.0 Godfist.ChampionMastery
Module to get Champion masteries
Link to this section Summary
Functions
Get a champion mastery by player id and champion id
Get all champion mastery entries by number of champion points
Get a player’s total mastery score by player id
Link to this section Functions
Link to this function
by_champion(region, id, champ_id)
by_champion(atom, integer, integer) :: {:ok, map} | {:error, String.t}
Get a champion mastery by player id and champion id.
Example
iex> Godfist.ChampionMastery.by_champion(:na, summid, champid)
Link to this function
by_summoner(region, id)
by_summoner(atom, integer) :: {:ok, map} | {:error, String.t}
Get all champion mastery entries by number of champion points.
Example
iex> Godfist.ChampionMastery.by_summoner(:na, summonerid)