Functions
The following functions are available globally.
- 
                  
                  Fetch Berry list DeclarationSwift public func fetchBerryList() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Berry Information DeclarationSwift public func fetchBerry(berryId: String) -> Promise<PKMBerry>ParametersberryIdBerry ID Return ValueA promise with PKMBerry 
- 
                  
                  Fetch Berry Firmness list DeclarationSwift public func fetchBerryFirmnessList() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Berry Firmness Information DeclarationSwift public func fetchBerryFirmness(berryFirmnessId: String) -> Promise<PKMBerryFirmness>ParametersberryFirmnessIdBerry Firmness ID Return ValueA promise with PKMBerryFirmness 
- 
                  
                  Fetch Berry Flavours list DeclarationSwift public func fetchBerryFlavours() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Berry Flavour Information DeclarationSwift public func fetchBerryFlavour(berryFlavourId: String) -> Promise<PKMBerryFlavour>ParametersberryFlavourIdBerry Flavour ID Return ValueA promise with PKMBerryFlavour 
- 
                  
                  Fetch Contest list DeclarationSwift public func fetchContestList() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Contest Type Information DeclarationSwift public func fetchContestType(contestTypeId: String) -> Promise<PKMContestType>ParameterscontestTypeIdContest Type ID Return ValueA promise with PKMContestType 
- 
                  
                  Fetch Contest Effects list DeclarationSwift public func fetchContestEffects() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Contest Effect Information DeclarationSwift public func fetchContestEffect(contestEffectId: String) -> Promise<PKMContestEffect>ParameterscontestEffectIdContest Effect ID Return ValueA promise with PKMContestEffect 
- 
                  
                  Fetch Super Contest Effects list DeclarationSwift public func fetchSuperContestEffects() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Super Contest Effect Information DeclarationSwift public func fetchSuperContestEffect(superContestEffectId: String) -> Promise<PKMSuperContestEffect>ParameterssuperContestEffectIdSuper Contest Effect ID Return ValueA promise with PKMSuperContestEffect 
- 
                  
                  Fetch Encounter Methods list DeclarationSwift public func fetchEncounterMethods() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Encounter Method Information DeclarationSwift public func fetchEncounterMethod(encounterMethodId: String) -> Promise<PKMEncounterMethod>ParametersencounterMethodIdEncounter Method ID Return ValueA promise with PKMEncounterMethod 
- 
                  
                  Fetch Encounter Conditions list DeclarationSwift public func fetchEncounterConditions() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Encounter Condition Information DeclarationSwift public func fetchEncounterCondition(encounterConditionId: String) -> Promise<PKMEncounterCondition>ParametersencounterConditionIdEncounter Condition ID Return ValueA promise with PKMEncounterCondition 
- 
                  
                  Fetch Encounter Condition Values list DeclarationSwift public func fetchEncounterConditionValues() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Encounter Condition Value Information DeclarationSwift public func fetchEncounterConditionValue(encounterConditionValueId: String) -> Promise<PKMEncounterConditionValue>ParametersencounterConditionValueIdEncounter Condition Value ID Return ValueA promise with PKMEncounterConditionValue 
- 
                  
                  Fetch Encounter Chains list DeclarationSwift public func fetchEvolutionChains() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Evolution Chain Information DeclarationSwift public func fetchEvolutionChain(evolutionChainId: String) -> Promise<PKMEvolutionChain>ParametersevolutionChainIdEvolution Chain ID Return ValueA promise with PKMEvolutionChain 
- 
                  
                  Fetch Encounter Triggers list DeclarationSwift public func fetchEvolutionTriggers() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Evolution Trigger Information DeclarationSwift public func fetchEvolutionTrigger(evolutionTriggerId: String) -> Promise<PKMEvolutionTrigger>ParametersevolutionTriggerIdEvolution Trigger ID Return ValueA promise with PKMEvolutionTrigger 
- 
                  
                  Fetch Generations list DeclarationSwift public func fetchGenerations() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Generation Information DeclarationSwift public func fetchGeneration(generationId: String) -> Promise<PKMGeneration>ParametersgenerationIdGeneration ID Return ValueA promise with PKMGeneration 
- 
                  
                  Fetch Pokedexes list DeclarationSwift public func fetchPokedexes() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokedex Information DeclarationSwift public func fetchPokedex(pokedexId: String) -> Promise<PKMPokedex>ParameterspokedexIdPokedex ID Return ValueA promise with PKMPokedex 
- 
                  
                  Fetch Versions list DeclarationSwift public func fetchVersions() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Version Information DeclarationSwift public func fetchVersion(versionId: String) -> Promise<PKMVersion>ParametersversionIdVersion ID Return ValueA promise with PKMVersion 
- 
                  
                  Fetch Versions Groups list DeclarationSwift public func fetchVersionGroups() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Version Group Information DeclarationSwift public func fetchVersionGroup(versionGroupId: String) -> Promise<PKMVersionGroup>ParametersversionGroupIdVersion Group ID Return ValueA promise with PKMVersionGroup 
- 
                  
                  Fetch Items list DeclarationSwift public func fetchItems() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Item Information DeclarationSwift public func fetchItem(itemId: String) -> Promise<PKMItem>ParametersitemIdItem ID Return ValueA promise with PKMItem 
- 
                  
                  Fetch Item Attributes list DeclarationSwift public func fetchItemAttributes() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Item Attribute Information DeclarationSwift public func fetchItemAttribute(itemAttributeId: String) -> Promise<PKMItemAttribute>ParametersitemAttributeIdItem Attribute ID Return ValueA promise with PKMItemAttribute 
- 
                  
                  Fetch Item Categories list DeclarationSwift public func fetchItemCategories() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Item Category Information DeclarationSwift public func fetchItemCategory(itemCategoryId: String) -> Promise<PKMItemCategory>ParametersitemCategoryIdItem Category ID Return ValueA promise with PKMItemCategory 
- 
                  
                  Fetch Item Fling Effects list DeclarationSwift public func fetchItemFlingEffects() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Item Fling Effect Information DeclarationSwift public func fetchItemFlingEffect(itemFlingEffectsId: String) -> Promise<PKMItemFlingEffect>ParametersitemFlingEffectsIdItem Fling Effect ID Return ValueA promise with PKMItemFlingEffect 
- 
                  
                  Fetch Item Pockets list DeclarationSwift public func fetchItemPockets() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Item Pocket Information DeclarationSwift public func fetchItemPocket(itemPocketId: String) -> Promise<PKMItemPocket>ParametersitemPocketIdItem Pocket ID Return ValueA promise with PKMItemPocket 
- 
                  
                  Fetch Moves list DeclarationSwift public func fetchMoves() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Information DeclarationSwift public func fetchMove(moveId: String) -> Promise<PKMMove>ParametersmoveIdMove ID Return ValueA promise with PKMMove 
- 
                  
                  Fetch Moves Ailments list DeclarationSwift public func fetchMoveAilments() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Ailment Information DeclarationSwift public func fetchMoveAilment(moveAilmentId: String) -> Promise<PKMMoveAilment>ParametersmoveAilmentIdMove Ailment ID Return ValueA promise with PKMMoveAilment 
- 
                  
                  Fetch Moves Battle Styles list DeclarationSwift public func fetchMoveBattleStyles() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Battle Style Information DeclarationSwift public func fetchMoveBattleStyle(moveBattleStyleId: String) -> Promise<PKMMoveBattleStyle>ParametersmoveBattleStyleIdMove Battle Style ID Return ValueA promise with PKMMoveBattleStyle 
- 
                  
                  Fetch Moves Categories list DeclarationSwift public func fetchMoveCategories() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Category Information DeclarationSwift public func fetchMoveCategory(moveCategoryId: String) -> Promise<PKMMoveCategory>ParametersmoveCategoryIdMove Category ID Return ValueA promise with PKMMoveCategory 
- 
                  
                  Fetch Moves Damage Classes list DeclarationSwift public func fetchMoveDamageClasses() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Damage Class Information DeclarationSwift public func fetchMoveDamageClass(moveDamageClassId: String) -> Promise<PKMMoveDamageClass>ParametersmoveDamageClassIdMove Damage Class ID Return ValueA promise with PKMMoveDamageClass 
- 
                  
                  Fetch Moves Learn Methods list DeclarationSwift public func fetchMoveLearnMethods() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Learn Method Information DeclarationSwift public func fetchMoveLearnMethod(moveLearnMethodId: String) -> Promise<PKMMoveLearnMethod>ParametersmoveLearnMethodIdMove Learn Method ID Return ValueA promise with PKMMoveLearnMethod 
- 
                  
                  Fetch Moves Targets list DeclarationSwift public func fetchMoveTargets() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Move Target Information DeclarationSwift public func fetchMoveTarget(moveTargetId: String) -> Promise<PKMMoveTarget>ParametersmoveTargetIdMove Target ID Return ValueA promise with PKMMoveTarget 
- 
                  
                  Fetch Locations list DeclarationSwift public func fetchLocations() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Location Information DeclarationSwift public func fetchLocation(locationId: String) -> Promise<PKMLocation>ParameterslocationIdLocation ID Return ValueA promise with PKMLocation 
- 
                  
                  Fetch Location Area list DeclarationSwift public func fetchLocationAreas() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Location Area Information DeclarationSwift public func fetchLocationArea(locationAreaId: String) -> Promise<PKMLocationArea>ParameterslocationAreaIdLocation Area ID Return ValueA promise with PKMLocationArea 
- 
                  
                  Fetch Pal Park Areas list DeclarationSwift public func fetchPalParkAreas() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pal Park Area Information DeclarationSwift public func fetchPalParkArea(palParkAreaId: String) -> Promise<PKMPalParkArea>ParameterspalParkAreaIdPal Park Area ID Return ValueA promise with PKMPalParkArea 
- 
                  
                  Fetch Regions list DeclarationSwift public func fetchRegions() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Region Information DeclarationSwift public func fetchRegion(regionId: String) -> Promise<PKMRegion>ParametersregionIdRegion ID Return ValueA promise with PKMRegion 
- 
                  
                  Fetch Abilities list DeclarationSwift public func fetchAbilities() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Ability Information DeclarationSwift public func fetchAbility(abilityId: String) -> Promise<PKMAbility>ParametersabilityIdAbility ID Return ValueA promise with PKMAbility 
- 
                  
                  Fetch Characteristics list DeclarationSwift public func fetchCharacteristics() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Characteristic Information DeclarationSwift public func fetchCharacteristic(characteristicId: String) -> Promise<PKMCharacteristic>ParameterscharacteristicIdCharacteristic ID Return ValueA promise with PKMCharacteristic 
- 
                  
                  Fetch Egg Group list DeclarationSwift public func fetchEggGroup() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Egg Group Information DeclarationSwift public func fetchEggGroup(eggGroupId: String) -> Promise<PKMEggGroup>ParameterseggGroupIdEgg Group ID Return ValueA promise with PKMEggGroup 
- 
                  
                  Fetch Genders list DeclarationSwift public func fetchGenders() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Gender Information DeclarationSwift public func fetchGender(genderId: String) -> Promise<PKMGender>ParametersgenderIdGender ID Return ValueA promise with PKMGender 
- 
                  
                  Fetch Growth Rate list DeclarationSwift public func fetchGrowthRates() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Growth Rate Information DeclarationSwift public func fetchGrowthRate(growthRateId: String) -> Promise<PKMGrowthRate>ParametersgrowthRateIdGrowth Rate ID Return ValueA promise with PKMGrowthRate 
- 
                  
                  Fetch Nature list DeclarationSwift public func fetchNatures() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Nature Information DeclarationSwift public func fetchNature(natureId: String) -> Promise<PKMNature>ParametersnatureIdNature ID Return ValueA promise with PKMNature 
- 
                  
                  Fetch Pokeathlon Stat list DeclarationSwift public func fetchPokeathlonStats() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokeathlon Stat Information DeclarationSwift public func fetchPokeathlonStat(pokeathlonStatId: String) -> Promise<PKMPokeathlonStat>ParameterspokeathlonStatIdPokeathlon Stat ID Return ValueA promise with PKMPokeathlonStat 
- 
                  
                  Fetch Pokemon list DeclarationSwift public func fetchPokemons() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokemon Information DeclarationSwift public func fetchPokemon(pokemonId: String) -> Promise<PKMPokemon>ParameterspokemonIdPokemon( ID Return ValueA promise with PKMPokemon 
- 
                  
                  Fetch Pokemon Color list DeclarationSwift public func fetchPokemonColors() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokemon Color Information DeclarationSwift public func fetchPokemonColor(pokemonColorId: String) -> Promise<PKMPokemonColor>ParameterspokemonColorIdPokemon Color ID Return ValueA promise with PKMPokemonColor 
- 
                  
                  Fetch Pokemon Form list DeclarationSwift public func fetchPokemonForms() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokemon Form Information DeclarationSwift public func fetchPokemonForm(pokemonFormId: String) -> Promise<PKMPokemonForm>ParameterspokemonFormIdPokemon Form ID Return ValueA promise with PKMPokemonForm 
- 
                  
                  Fetch Pokemon Habitat list DeclarationSwift public func fetchPokemonHabitats() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokemon Habitat Information DeclarationSwift public func fetchPokemonHabitat(pokemonHabitatId: String) -> Promise<PKMPokemonHabitat>ParameterspokemonHabitatIdPokemon Habitat ID Return ValueA promise with PKMPokemonHabitat 
- 
                  
                  Fetch Pokemon Shape list DeclarationSwift public func fetchPokemonShapes() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokemon Shape Information DeclarationSwift public func fetchPokemonShape(pokemonShapeId: String) -> Promise<PKMPokemonShape>ParameterspokemonShapeIdPokemon Shape ID Return ValueA promise with PKMPokemonShape 
- 
                  
                  Fetch Pokemon Species list DeclarationSwift public func fetchPokemonSpecies() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Pokemon Species Information DeclarationSwift public func fetchPokemonSpecies(pokemonSpeciesId: String) -> Promise<PKMPokemonSpecies>ParameterspokemonSpeciesIdPokemon Species ID Return ValueA promise with PKMPokemonSpecies 
- 
                  
                  Fetch Stat list DeclarationSwift public func fetchStats() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Stat Information DeclarationSwift public func fetchStat(statId: String) -> Promise<PKMStat>ParametersstatIdStat ID Return ValueA promise with PKMStat 
- 
                  
                  Fetch Type list DeclarationSwift public func fetchType() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Type Information DeclarationSwift public func fetchType(typeId: String) -> Promise<PKMType>ParameterstypeIdType ID Return ValueA promise with PKMType 
- 
                  
                  Fetch Languages list DeclarationSwift public func fetchLanguages() -> Promise<PKMPagedObject>Return ValueA promise with PKMPagedObject 
- 
                  
                  Fetch Language Information DeclarationSwift public func fetchLanguage(languageId: String) -> Promise<PKMLanguage>ParameterslanguageIdLanguage ID Return ValueA promise with PKMLanguage 
 View on GitHub
View on GitHub Functions  Reference
        Functions  Reference