This NodeJS API has been developed with the goal of importing and providing access to Pokemon Go data stored in an Excel file. It follows RESTful practices to deliver a practical, fast, and automated experience for users.
Application Docker Image is available on: https://hub.docker.com/repository/docker/ruannjs/pokemongoapi/general
Endpoint: /pokemons
Method: GET
Query Parameters:
limit
(string): Limit the number of Pokemons returned.skip
(string): Skip the specified number of Pokemons in the list.
Response:
- Returns a list of all Pokemons based on the specified limit and skip parameters.
Endpoint: /pokemons/generation/:generation
Method: GET
Parameters:
generation
(string): The generation number of Pokemons.
Response:
- Returns a list of Pokemons belonging to the specified generation.
Endpoint: /pokemons/evolution/:stage
Method: GET
Parameters:
stage
(string): The evolution stage of Pokemons.
Response:
- Returns a list of Pokemons belonging to the specified evolution stage.
Endpoint: /pokemons/evolved/:boolean
Method: GET
Parameters:
boolean
(string): Flag to filter evolved or non-evolved Pokemons.
Response:
- Returns a list of Pokemons based on the specified evolution status.
Endpoint: /pokemons/family/:familyID
Method: GET
Parameters:
familyID
(string): The Family ID of Pokemons.
Response:
- Returns a list of Pokemons with the specified Family ID.
Endpoint: /pokemons/crossgen
Method: GET
Response:
- Returns a list of Pokemons with crossed-generation evolutions.
Endpoint: /pokemons/types/:type
Method: GET
Parameters:
type
(string): The type (1 or 2) of Pokemons.
Response:
- Returns a list of Pokemons based on the specified type.
Endpoint: /pokemons/maintype/:type
Method: GET
Parameters:
type
(string): The main type (Type 1) of Pokemons.
Response:
- Returns a list of Pokemons based on the specified main type.
Endpoint: /pokemons/legendary
Method: GET
Response:
- Returns a list of Legendary Pokemons.
Feel free to use these endpoints to interact with the Pokemon Go API and retrieve relevant Pokemon data.
Endpoint: /pokemons/stats/:order
Method: GET
Parameters:
order
(string): Order of sorting, either 'desc' or 'asc'.min
(string): Minimum total stats value (optional).max
(string): Maximum total stats value (optional).
Response:
- Returns a list of Pokemons based on the specified total stats order, with optional filtering by minimum and maximum values.
Endpoint: /pokemons/atk/:order
Method: GET
Parameters:
order
(string): Order of sorting, either 'desc' or 'asc'.min
(string): Minimum ATK value (optional).max
(string): Maximum ATK value (optional).
Response:
- Returns a list of Pokemons based on the specified ATK order, with optional filtering by minimum and maximum values.
Endpoint: /pokemons/def/:order
Method: GET
Parameters:
order
(string): Order of sorting, either 'desc' or 'asc'.min
(string): Minimum DEF value (optional).max
(string): Maximum DEF value (optional).
Response:
- Returns a list of Pokemons based on the specified DEF order, with optional filtering by minimum and maximum values.
Endpoint: /pokemons/sta/:order
Method: GET
Parameters:
order
(string): Order of sorting, either 'desc' or 'asc'.min
(string): Minimum STA value (optional).max
(string): Maximum STA value (optional).
Response:
- Returns a list of Pokemons based on the specified STA order, with optional filtering by minimum and maximum values.
Endpoint: /pokemons/name/:name
Method: GET
Parameters:
name
(string): The name of the Pokemon.
Response:
- Returns information about a specific Pokemon based on its name.