godfist v0.5.0 Godfist.Static
Module to interact with the Static data provided by Riot. I’m not going to provide examples in this Module unless it’s necessary. Just pass each region as an atom and id if it requires it.
On some of these functions I could have provided the ids as options and use the same function name but I thought that explicitly telling that you want a single rune or mastery is a better id so… You can do it like this intead.
Link to this section Summary
Functions
Get a list of all champs
Get a list of all items
Get a list of all masteries
Get a list of all runes
Get a single champion by id
Get a single item by id
Retrieve language strings data
Get support languages data
Get information about all maps
Get a single mastery by id
Get a list of all profile icons
Retrieve realm data
Retrieves reforged rune by ID
Retrieves reforged rune path by ID
Retrieves reforged runes list
Retrieves reforged rune path list
Get information about a single rune by id
Get a single spell by id
Get a list of all summoner spells
Retrieves full tarball link
Get version data
Link to this section Functions
Get a list of all champs.
One option must be passed, otherwise “all” is returned.
Options are given with the :filter key with one of these values.
allallytipsaltimagesblurbenemytipsimageinfolorepartypepassiverecommendedskinsspellsstatstags
Get a list of all items.
One option must be passed, otherwise “all” is returned.
Pass on the :filter key with value of:
allcolloqconsumeOnFullconsumeddepthfromgoldgroupshideFromAllimageinStoreintomapsrequiredChampionsanitizedDescriptionspecialRecipestacksstatstagstree
all_masteries(atom, Kwyrod.t) ::
{:ok, map} |
{:error, String.t}
Get a list of all masteries.
Opts is atom :filter with a value of one of:
all(Default)imagemasteryTreeprereqrankssanitizedDescriptiontree
Get a list of all runes.
Options are given with an atom :filter as key and values are:
all(Default)imagesanitizedDescriptionstatstags
Get a single champion by id.
Refer to all_champs/2 for a list of options.
Get a single item by id.
Refer to all_items/2 for a list of options.
Retrieve language strings data.
Get support languages data.
Get information about all maps.
mastery(atom, integer, Kwyrod.t) ::
{:ok, map} |
{:error, String.t}
Get a single mastery by id.
Refer to all_masteries/2 for a list of options.
Get a list of all profile icons.
Retrieve realm data.
reforged_rune_by_id(atom, integer) ::
{:ok, list} |
{:error, String.t}
Retrieves reforged rune by ID.
reforged_rune_path_by_id(atom, integer) ::
{:ok, list} |
{:error, String.t}
Retrieves reforged rune path by ID.
reforged_runes(atom) :: {:ok, list} | {:error, String.t}
Retrieves reforged runes list.
reforged_runes_path(atom) :: {:ok, list} | {:error, String.t}
Retrieves reforged rune path list.
Get information about a single rune by id.
Reger to all_runes/2 for a list of options.
Get a single spell by id.
Refer to sum_spells/1 for a list of options
Get a list of all summoner spells.
Options are given with an atom :filter as key and values are:
all(Default)cooldowncooldownBurncostcostBurncostTypeeffecteffectBurnimagekeyleveltipmaxrankmodesrangerangeBurnresourcesanitizedDescriptionsanitizedTooltiptooltipvars
Retrieves full tarball link
Get version data.