A simple, efficient wrapper for PokeAPI/api-data.
To look up a specific Pokemon, simply pass in the Pokemon's name.
const metagross = require('metagross');
const pokemon = metagross.getPokemon('pikachu');
console.log(pokemon);
Alternatively, a Pokemon's id can be provided instead of its name.
const metagross = require('metagross');
const pokemon = metagross.getPokemon(25);
console.log(pokemon);
All types of data present in api-data
are also available via metagross
.
const metagross = require('metagross');
const move = metagross.getMove('iron-tail');
console.log(move);