Functions
The following functions are available globally.
-
Fetch Berry list
Declaration
Swift
public func fetchBerryList() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Berry Information
Declaration
Swift
public func fetchBerry(berryId: String) -> Promise<PKMBerry>Parameters
berryIdBerry ID
Return Value
A promise with PKMBerry
-
Fetch Berry Firmness list
Declaration
Swift
public func fetchBerryFirmnessList() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Berry Firmness Information
Declaration
Swift
public func fetchBerryFirmness(berryFirmnessId: String) -> Promise<PKMBerryFirmness>Parameters
berryFirmnessIdBerry Firmness ID
Return Value
A promise with PKMBerryFirmness
-
Fetch Berry Flavours list
Declaration
Swift
public func fetchBerryFlavours() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Berry Flavour Information
Declaration
Swift
public func fetchBerryFlavour(berryFlavourId: String) -> Promise<PKMBerryFlavour>Parameters
berryFlavourIdBerry Flavour ID
Return Value
A promise with PKMBerryFlavour
-
Fetch Contest list
Declaration
Swift
public func fetchContestList() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Contest Type Information
Declaration
Swift
public func fetchContestType(contestTypeId: String) -> Promise<PKMContestType>Parameters
contestTypeIdContest Type ID
Return Value
A promise with PKMContestType
-
Fetch Contest Effects list
Declaration
Swift
public func fetchContestEffects() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Contest Effect Information
Declaration
Swift
public func fetchContestEffect(contestEffectId: String) -> Promise<PKMContestEffect>Parameters
contestEffectIdContest Effect ID
Return Value
A promise with PKMContestEffect
-
Fetch Super Contest Effects list
Declaration
Swift
public func fetchSuperContestEffects() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Super Contest Effect Information
Declaration
Swift
public func fetchSuperContestEffect(superContestEffectId: String) -> Promise<PKMSuperContestEffect>Parameters
superContestEffectIdSuper Contest Effect ID
Return Value
A promise with PKMSuperContestEffect
-
Fetch Encounter Methods list
Declaration
Swift
public func fetchEncounterMethods() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Encounter Method Information
Declaration
Swift
public func fetchEncounterMethod(encounterMethodId: String) -> Promise<PKMEncounterMethod>Parameters
encounterMethodIdEncounter Method ID
Return Value
A promise with PKMEncounterMethod
-
Fetch Encounter Conditions list
Declaration
Swift
public func fetchEncounterConditions() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Encounter Condition Information
Declaration
Swift
public func fetchEncounterCondition(encounterConditionId: String) -> Promise<PKMEncounterCondition>Parameters
encounterConditionIdEncounter Condition ID
Return Value
A promise with PKMEncounterCondition
-
Fetch Encounter Condition Values list
Declaration
Swift
public func fetchEncounterConditionValues() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Encounter Condition Value Information
Declaration
Swift
public func fetchEncounterConditionValue(encounterConditionValueId: String) -> Promise<PKMEncounterConditionValue>Parameters
encounterConditionValueIdEncounter Condition Value ID
Return Value
A promise with PKMEncounterConditionValue
-
Fetch Encounter Chains list
Declaration
Swift
public func fetchEvolutionChains() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Evolution Chain Information
Declaration
Swift
public func fetchEvolutionChain(evolutionChainId: String) -> Promise<PKMEvolutionChain>Parameters
evolutionChainIdEvolution Chain ID
Return Value
A promise with PKMEvolutionChain
-
Fetch Encounter Triggers list
Declaration
Swift
public func fetchEvolutionTriggers() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Evolution Trigger Information
Declaration
Swift
public func fetchEvolutionTrigger(evolutionTriggerId: String) -> Promise<PKMEvolutionTrigger>Parameters
evolutionTriggerIdEvolution Trigger ID
Return Value
A promise with PKMEvolutionTrigger
-
Fetch Generations list
Declaration
Swift
public func fetchGenerations() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Generation Information
Declaration
Swift
public func fetchGeneration(generationId: String) -> Promise<PKMGeneration>Parameters
generationIdGeneration ID
Return Value
A promise with PKMGeneration
-
Fetch Pokedexes list
Declaration
Swift
public func fetchPokedexes() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokedex Information
Declaration
Swift
public func fetchPokedex(pokedexId: String) -> Promise<PKMPokedex>Parameters
pokedexIdPokedex ID
Return Value
A promise with PKMPokedex
-
Fetch Versions list
Declaration
Swift
public func fetchVersions() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Version Information
Declaration
Swift
public func fetchVersion(versionId: String) -> Promise<PKMVersion>Parameters
versionIdVersion ID
Return Value
A promise with PKMVersion
-
Fetch Versions Groups list
Declaration
Swift
public func fetchVersionGroups() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Version Group Information
Declaration
Swift
public func fetchVersionGroup(versionGroupId: String) -> Promise<PKMVersionGroup>Parameters
versionGroupIdVersion Group ID
Return Value
A promise with PKMVersionGroup
-
Fetch Items list
Declaration
Swift
public func fetchItems() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Item Information
Declaration
Swift
public func fetchItem(itemId: String) -> Promise<PKMItem>Parameters
itemIdItem ID
Return Value
A promise with PKMItem
-
Fetch Item Attributes list
Declaration
Swift
public func fetchItemAttributes() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Item Attribute Information
Declaration
Swift
public func fetchItemAttribute(itemAttributeId: String) -> Promise<PKMItemAttribute>Parameters
itemAttributeIdItem Attribute ID
Return Value
A promise with PKMItemAttribute
-
Fetch Item Categories list
Declaration
Swift
public func fetchItemCategories() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Item Category Information
Declaration
Swift
public func fetchItemCategory(itemCategoryId: String) -> Promise<PKMItemCategory>Parameters
itemCategoryIdItem Category ID
Return Value
A promise with PKMItemCategory
-
Fetch Item Fling Effects list
Declaration
Swift
public func fetchItemFlingEffects() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Item Fling Effect Information
Declaration
Swift
public func fetchItemFlingEffect(itemFlingEffectsId: String) -> Promise<PKMItemFlingEffect>Parameters
itemFlingEffectsIdItem Fling Effect ID
Return Value
A promise with PKMItemFlingEffect
-
Fetch Item Pockets list
Declaration
Swift
public func fetchItemPockets() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Item Pocket Information
Declaration
Swift
public func fetchItemPocket(itemPocketId: String) -> Promise<PKMItemPocket>Parameters
itemPocketIdItem Pocket ID
Return Value
A promise with PKMItemPocket
-
Fetch Moves list
Declaration
Swift
public func fetchMoves() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Information
Declaration
Swift
public func fetchMove(moveId: String) -> Promise<PKMMove>Parameters
moveIdMove ID
Return Value
A promise with PKMMove
-
Fetch Moves Ailments list
Declaration
Swift
public func fetchMoveAilments() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Ailment Information
Declaration
Swift
public func fetchMoveAilment(moveAilmentId: String) -> Promise<PKMMoveAilment>Parameters
moveAilmentIdMove Ailment ID
Return Value
A promise with PKMMoveAilment
-
Fetch Moves Battle Styles list
Declaration
Swift
public func fetchMoveBattleStyles() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Battle Style Information
Declaration
Swift
public func fetchMoveBattleStyle(moveBattleStyleId: String) -> Promise<PKMMoveBattleStyle>Parameters
moveBattleStyleIdMove Battle Style ID
Return Value
A promise with PKMMoveBattleStyle
-
Fetch Moves Categories list
Declaration
Swift
public func fetchMoveCategories() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Category Information
Declaration
Swift
public func fetchMoveCategory(moveCategoryId: String) -> Promise<PKMMoveCategory>Parameters
moveCategoryIdMove Category ID
Return Value
A promise with PKMMoveCategory
-
Fetch Moves Damage Classes list
Declaration
Swift
public func fetchMoveDamageClasses() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Damage Class Information
Declaration
Swift
public func fetchMoveDamageClass(moveDamageClassId: String) -> Promise<PKMMoveDamageClass>Parameters
moveDamageClassIdMove Damage Class ID
Return Value
A promise with PKMMoveDamageClass
-
Fetch Moves Learn Methods list
Declaration
Swift
public func fetchMoveLearnMethods() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Learn Method Information
Declaration
Swift
public func fetchMoveLearnMethod(moveLearnMethodId: String) -> Promise<PKMMoveLearnMethod>Parameters
moveLearnMethodIdMove Learn Method ID
Return Value
A promise with PKMMoveLearnMethod
-
Fetch Moves Targets list
Declaration
Swift
public func fetchMoveTargets() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Move Target Information
Declaration
Swift
public func fetchMoveTarget(moveTargetId: String) -> Promise<PKMMoveTarget>Parameters
moveTargetIdMove Target ID
Return Value
A promise with PKMMoveTarget
-
Fetch Locations list
Declaration
Swift
public func fetchLocations() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Location Information
Declaration
Swift
public func fetchLocation(locationId: String) -> Promise<PKMLocation>Parameters
locationIdLocation ID
Return Value
A promise with PKMLocation
-
Fetch Location Area list
Declaration
Swift
public func fetchLocationAreas() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Location Area Information
Declaration
Swift
public func fetchLocationArea(locationAreaId: String) -> Promise<PKMLocationArea>Parameters
locationAreaIdLocation Area ID
Return Value
A promise with PKMLocationArea
-
Fetch Pal Park Areas list
Declaration
Swift
public func fetchPalParkAreas() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pal Park Area Information
Declaration
Swift
public func fetchPalParkArea(palParkAreaId: String) -> Promise<PKMPalParkArea>Parameters
palParkAreaIdPal Park Area ID
Return Value
A promise with PKMPalParkArea
-
Fetch Regions list
Declaration
Swift
public func fetchRegions() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Region Information
Declaration
Swift
public func fetchRegion(regionId: String) -> Promise<PKMRegion>Parameters
regionIdRegion ID
Return Value
A promise with PKMRegion
-
Fetch Abilities list
Declaration
Swift
public func fetchAbilities() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Ability Information
Declaration
Swift
public func fetchAbility(abilityId: String) -> Promise<PKMAbility>Parameters
abilityIdAbility ID
Return Value
A promise with PKMAbility
-
Fetch Characteristics list
Declaration
Swift
public func fetchCharacteristics() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Characteristic Information
Declaration
Swift
public func fetchCharacteristic(characteristicId: String) -> Promise<PKMCharacteristic>Parameters
characteristicIdCharacteristic ID
Return Value
A promise with PKMCharacteristic
-
Fetch Egg Group list
Declaration
Swift
public func fetchEggGroup() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Egg Group Information
Declaration
Swift
public func fetchEggGroup(eggGroupId: String) -> Promise<PKMEggGroup>Parameters
eggGroupIdEgg Group ID
Return Value
A promise with PKMEggGroup
-
Fetch Genders list
Declaration
Swift
public func fetchGenders() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Gender Information
Declaration
Swift
public func fetchGender(genderId: String) -> Promise<PKMGender>Parameters
genderIdGender ID
Return Value
A promise with PKMGender
-
Fetch Growth Rate list
Declaration
Swift
public func fetchGrowthRates() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Growth Rate Information
Declaration
Swift
public func fetchGrowthRate(growthRateId: String) -> Promise<PKMGrowthRate>Parameters
growthRateIdGrowth Rate ID
Return Value
A promise with PKMGrowthRate
-
Fetch Nature list
Declaration
Swift
public func fetchNatures() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Nature Information
Declaration
Swift
public func fetchNature(natureId: String) -> Promise<PKMNature>Parameters
natureIdNature ID
Return Value
A promise with PKMNature
-
Fetch Pokeathlon Stat list
Declaration
Swift
public func fetchPokeathlonStats() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokeathlon Stat Information
Declaration
Swift
public func fetchPokeathlonStat(pokeathlonStatId: String) -> Promise<PKMPokeathlonStat>Parameters
pokeathlonStatIdPokeathlon Stat ID
Return Value
A promise with PKMPokeathlonStat
-
Fetch Pokemon list
Declaration
Swift
public func fetchPokemons() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokemon Information
Declaration
Swift
public func fetchPokemon(pokemonId: String) -> Promise<PKMPokemon>Parameters
pokemonIdPokemon( ID
Return Value
A promise with PKMPokemon
-
Fetch Pokemon Color list
Declaration
Swift
public func fetchPokemonColors() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokemon Color Information
Declaration
Swift
public func fetchPokemonColor(pokemonColorId: String) -> Promise<PKMPokemonColor>Parameters
pokemonColorIdPokemon Color ID
Return Value
A promise with PKMPokemonColor
-
Fetch Pokemon Form list
Declaration
Swift
public func fetchPokemonForms() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokemon Form Information
Declaration
Swift
public func fetchPokemonForm(pokemonFormId: String) -> Promise<PKMPokemonForm>Parameters
pokemonFormIdPokemon Form ID
Return Value
A promise with PKMPokemonForm
-
Fetch Pokemon Habitat list
Declaration
Swift
public func fetchPokemonHabitats() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokemon Habitat Information
Declaration
Swift
public func fetchPokemonHabitat(pokemonHabitatId: String) -> Promise<PKMPokemonHabitat>Parameters
pokemonHabitatIdPokemon Habitat ID
Return Value
A promise with PKMPokemonHabitat
-
Fetch Pokemon Shape list
Declaration
Swift
public func fetchPokemonShapes() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokemon Shape Information
Declaration
Swift
public func fetchPokemonShape(pokemonShapeId: String) -> Promise<PKMPokemonShape>Parameters
pokemonShapeIdPokemon Shape ID
Return Value
A promise with PKMPokemonShape
-
Fetch Pokemon Species list
Declaration
Swift
public func fetchPokemonSpecies() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Pokemon Species Information
Declaration
Swift
public func fetchPokemonSpecies(pokemonSpeciesId: String) -> Promise<PKMPokemonSpecies>Parameters
pokemonSpeciesIdPokemon Species ID
Return Value
A promise with PKMPokemonSpecies
-
Fetch Stat list
Declaration
Swift
public func fetchStats() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Stat Information
Declaration
Swift
public func fetchStat(statId: String) -> Promise<PKMStat>Parameters
statIdStat ID
Return Value
A promise with PKMStat
-
Fetch Type list
Declaration
Swift
public func fetchType() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Type Information
Declaration
Swift
public func fetchType(typeId: String) -> Promise<PKMType>Parameters
typeIdType ID
Return Value
A promise with PKMType
-
Fetch Languages list
Declaration
Swift
public func fetchLanguages() -> Promise<PKMPagedObject>Return Value
A promise with PKMPagedObject
-
Fetch Language Information
Declaration
Swift
public func fetchLanguage(languageId: String) -> Promise<PKMLanguage>Parameters
languageIdLanguage ID
Return Value
A promise with PKMLanguage
View on GitHub
Functions Reference