Skip to content
Sankarsan Kampa edited this page Dec 15, 2017 · 11 revisions

Welcome to the node-pokedex-api wiki! Getting started with this library is a piece of cake.

Pokedex

Constructor

new Pokedex(options);
Parameter Type Optional Default Description
options Object The options for Pokedex API library
options.userAgent String none The User-Agent header for the HTTP request
options.version String 'v1' The version of the Pokedex API

Example

const Pokedex = require('pokedex-api');
const pokedex = new Pokedex({
  userAgent: 'ExampleApp (https://example.com, v2.0.1)',
  version: 'v1'
});

Available Endpoints

Click on the endpoint to see available methods and it's usage and examples.

  • Categories
  • Egg Groups
  • Evolution Stone
  • League
  • Pokémon
  • Types
Clone this wiki locally