godfist v0.1.1 Godfist.League
Module to interact with the League endpoint.
Link to this section Summary
Functions
Get challenger tier League mapped to queues
Get a list of the players from a league of the given list of summoner ids
Get league entries mapped by Summoner Id from a given list of ids
Get master tier League mapped to queues
Link to this section Functions
Link to this function
challenger(region, rank_queue)
Get challenger tier League mapped to queues.
Queues are: flex_sr, flex_tt, solo_5, team_5, team_3
Example
iex> Godfist.League.challenger(:na, :solo_5)
iex> Godfist.League.challenger(:oce, :team_3)
Link to this function
get_all(region, sumid)
Get a list of the players from a league of the given list of summoner ids.
Example
iex> Godfist.League.get_all(:lan, 123)
iex> Godfist.League.get_all(:lan, [123, 456, 789])
Link to this function
get_entry(region, sumid)
Get league entries mapped by Summoner Id from a given list of ids.
Example
iex> Godfist.League.get_entry(:lan, 123)
iex> Godfist.League.get_entry(:lan, [123, 456, 789])
Link to this function
master(region, rank_queue)
Get master tier League mapped to queues.
See challenger/2
to a list of queues.
Example
iex> Godfist.League.master(:eune, :flex_sr)