PokeMaster Taylor
PokeMaster Taylor · Acciones GPT
PokeAPI
Access information about Pokémon.
GET /pokemon/{name}Returns information about a specific Pokémon.Retrieves details for a Pokémon given its name.
GET /move/{idOrName}Returns information about a specific move.Retrieves details for a move given its ID or name.
Esquema original API
{
"openapi": "3.0.0",
"info": {
"title": "PokeAPI",
"description": "Access information about Pokémon.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://pokeapi.co/api/v2",
"description": "Main API server"
}
],
"paths": {
"/pokemon/{name}": {
"get": {
"operationId": "getPokemonInfo",
"summary": "Returns information about a specific Pokémon.",
"description": "Retrieves details for a Pokémon given its name.",
"parameters": [
{
"in": "path",
"name": "name",
"required": true,
"description": "The name of the Pokémon to retrieve.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Details of the specified Pokémon",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The unique identifier for the Pokémon."
},
"name": {
"type": "string",
"description": "The name of the Pokémon."
},
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "The types of the Pokémon."
}
},
"required": [
"id",
"name"
]
}
}
}
},
"404": {
"description": "Pokémon not found"
}
}
}
},
"/move/{idOrName}": {
"get": {
"operationId": "getMoveInfo",
"summary": "Returns information about a specific move.",
"description": "Retrieves details for a move given its ID or name.",
"parameters": [
{
"in": "path",
"name": "idOrName",
"required": true,
"description": "The ID or name of the move to retrieve.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Details of the specified move.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The unique identifier for the move."
},
"name": {
"type": "string",
"description": "The name of the move."
}
},
"required": [
"id",
"name"
]
}
}
}
},
"404": {
"description": "Move not found"
}
}
}
}
}
}