godfist v0.5.0 Godfist.Spectator
Module to interact with the Spectator endpoint.
Link to this section Summary
Link to this section Functions
Link to this function
active_game(region, sumid)
active_game(atom, integer) :: {:ok, map} | {:error, String.t}
Get current game of given summoner.
Example
iex> Godfist.Spectator.active_game(:ru, summid)
Link to this function
featured_games(region)
featured_games(atom) :: {:ok, map} | {:error, String.t}
Get current featured games of a region.
Example
iex> Godfist.Spectator.featured_games(:jp)