godfist v0.5.0 Godfist.Spectator

Module to interact with the Spectator endpoint.

Link to this section Summary

Functions

Get current game of given summoner

Get current featured games of a region

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)