pokedex-promise-v2
Version:
A library used to get information about Pokemons.
52 lines (51 loc) • 2.23 kB
JavaScript
const endpoints = [
['getBerryByName', 'berry'],
['getBerryFirmnessByName', 'berry-firmness'],
['getBerryFlavorByName', 'berry-flavor'],
['getContestTypeByName', 'contest-type'],
['getContestEffectById', 'contest-effect'],
['getSuperContestEffectById', 'super-contest-effect'],
['getEncounterMethodByName', 'encounter-method'],
['getEncounterConditionByName', 'encounter-condition'],
['getEncounterConditionValueByName', 'encounter-condition-value'],
['getEvolutionChainById', 'evolution-chain'],
['getEvolutionTriggerByName', 'evolution-trigger'],
['getGenerationByName', 'generation'],
['getPokedexByName', 'pokedex'],
['getVersionByName', 'version'],
['getVersionGroupByName', 'version-group'],
['getItemByName', 'item'],
['getItemAttributeByName', 'item-attribute'],
['getItemCategoryByName', 'item-category'],
['getItemFlingEffectByName', 'item-fling-effect'],
['getItemPocketByName', 'item-pocket'],
['getMachineById', 'machine'],
['getMoveByName', 'move'],
['getMoveAilmentByName', 'move-ailment'],
['getMoveBattleStyleByName', 'move-battle-style'],
['getMoveCategoryByName', 'move-category'],
['getMoveDamageClassByName', 'move-damage-class'],
['getMoveLearnMethodByName', 'move-learn-method'],
['getMoveTargetByName', 'move-target'],
['getLocationByName', 'location'],
['getLocationAreaByName', 'location-area'],
['getPalParkAreaByName', 'pal-park-area'],
['getRegionByName', 'region'],
['getAbilityByName', 'ability'],
['getCharacteristicById', 'characteristic'],
['getEggGroupByName', 'egg-group'],
['getGenderByName', 'gender'],
['getGrowthRateByName', 'growth-rate'],
['getNatureByName', 'nature'],
['getPokeathlonStatByName', 'pokeathlon-stat'],
['getPokemonByName', 'pokemon'],
['getPokemonColorByName', 'pokemon-color'],
['getPokemonFormByName', 'pokemon-form'],
['getPokemonHabitatByName', 'pokemon-habitat'],
['getPokemonShapeByName', 'pokemon-shape'],
['getPokemonSpeciesByName', 'pokemon-species'],
['getStatByName', 'stat'],
['getTypeByName', 'type'],
['getLanguageByName', 'language'],
];
export default endpoints;