-
Notifications
You must be signed in to change notification settings - Fork 4
Home
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.
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 |
const Pokedex = require('pokedex-api');
const pokedex = new Pokedex({
userAgent: 'ExampleApp (https://example.com, v2.0.1)',
version: 'v1'
});
Click on the endpoint to see available methods and it's usage and examples.
- Categories
- Egg Groups
- Evolution Stone
- League
- Pokémon
- Types