godfist v0.5.0 Godfist.DataDragon.Data
Interact with the data endpoints from DataDragon in English.
Each function must be passed a locale as an atom, you can consult the available
languages on Godfist.Static.languages/1
.
Default language is english(United States) if none is specified.
These are all available languages in a list. [:argentina, :australia, :china,
:czech, :french, :german, :greek, :hungarian, :indonesian, :italian, :japanese,
:korean, :malay, :malaysia, :mexico, :philippines, :poland, :polish,
:portuguese, :romanian, :russian, :singapore, :spain, :taiwan, :thai, :turkish,
:uk, :us, :vietnamese]
Almost every locale has the name of it’s country because I guess there are variations regarding languages on each country.
Link to this section Summary
Functions
Get information about champions
Get information about profile icons
Get information about the items
Get information about a single champion
Get information about summoner spells
Link to this section Functions
Get information about a single champion.
Example
iex> Godfist.DataDragon.Data.single_champ("Aatrox", :japanese)
summ_spells(atom) :: {:ok, map} | {:error, String.t}
Get information about summoner spells.
Example
iex> Godfist.DataDragon.Data.summ_spells()