Versions in this module Expand all Collapse all v1 v1.4.1 Mar 12, 2021 Changes in this version + var CacheSettings = Settings + func Ability(id string) (result structs.Ability, err error) + func Berry(id string) (result structs.Berry, err error) + func BerryFirmness(id string) (result structs.BerryFirmness, err error) + func BerryFlavor(id string) (result structs.BerryFlavor, err error) + func Characteristic(id string) (result structs.Characteristic, err error) + func ClearCache() + func ContestEffect(id string) (result structs.ContestEffect, err error) + func ContestType(id string) (result structs.ContestType, err error) + func EggGroup(id string) (result structs.EggGroup, err error) + func EncounterCondition(id string) (result structs.EncounterCondition, err error) + func EncounterConditionValue(id string) (result structs.EncounterConditionValue, err error) + func EncounterMethod(id string) (result structs.EncounterMethod, err error) + func EvolutionChain(id string) (result structs.EvolutionChain, err error) + func EvolutionTrigger(id string) (result structs.EvolutionTrigger, err error) + func Gender(id string) (result structs.Gender, err error) + func Generation(id string) (result structs.Generation, err error) + func GrowthRate(id string) (result structs.GrowthRate, err error) + func Item(id string) (result structs.Item, err error) + func ItemAttribute(id string) (result structs.ItemAttribute, err error) + func ItemCategory(id string) (result structs.ItemCategory, err error) + func ItemFlingEffect(id string) (result structs.ItemFlingEffect, err error) + func ItemPocket(id string) (result structs.ItemPocket, err error) + func Language(id string) (result structs.Language, err error) + func Location(id string) (result structs.Location, err error) + func LocationArea(id string) (result structs.LocationArea, err error) + func Machine(id string) (result structs.Machine, err error) + func Move(id string) (result structs.Move, err error) + func MoveAilment(id string) (result structs.MoveAilment, err error) + func MoveBattleStyle(id string) (result structs.MoveBattleStyle, err error) + func MoveCategory(id string) (result structs.MoveCategory, err error) + func MoveDamageClass(id string) (result structs.MoveDamageClass, err error) + func MoveLearnMethod(id string) (result structs.MoveLearnMethod, err error) + func MoveTarget(id string) (result structs.MoveTarget, err error) + func Nature(id string) (result structs.Nature, err error) + func PalParkArea(id string) (result structs.PalParkArea, err error) + func PokeathlonStat(id string) (result structs.PokeathlonStat, err error) + func Pokedex(id string) (result structs.Pokedex, err error) + func Pokemon(id string) (result structs.Pokemon, err error) + func PokemonColor(id string) (result structs.PokemonColor, err error) + func PokemonForm(id string) (result structs.PokemonForm, err error) + func PokemonHabitat(id string) (result structs.PokemonHabitat, err error) + func PokemonShape(id string) (result structs.PokemonShape, err error) + func PokemonSpecies(id string) (result structs.PokemonSpecies, err error) + func Region(id string) (result structs.Region, err error) + func Resource(endpoint string, params ...int) (result structs.Resource, err error) + func Search(endpoint string, search string) (result structs.Resource, err error) + func SetAPIPath(path string) error + func Stat(id string) (result structs.Stat, err error) + func SuperContestEffect(id string) (result structs.SuperContestEffect, err error) + func Type(id string) (result structs.Type, err error) + func Version(id string) (result structs.Version, err error) + func VersionGroup(id string) (result structs.VersionGroup, err error) + type Settings struct + CustomExpire time.Duration + UseCache bool