PokeCollector Guide
PokeCollector Guide · Acciones GPT
Pokemon TCG API
API for accessing information about the Pokémon Trading Card Game including cards, sets, and news.
GET /cardsGet a list of Pokémon cardsGET /setsGet a list of Pokémon card setsGET /newsGet the latest news about Pokémon TCG
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Pokemon TCG API",
"description": "API for accessing information about the Pokémon Trading Card Game including cards, sets, and news.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.pokemon.com/tcg"
}
],
"paths": {
"/cards": {
"get": {
"summary": "Get a list of Pokémon cards",
"operationId": "getCards",
"responses": {
"200": {
"description": "A list of cards",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CardList"
}
}
}
}
}
}
},
"/sets": {
"get": {
"summary": "Get a list of Pokémon card sets",
"operationId": "getCardSets",
"responses": {
"200": {
"description": "A list of card sets",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SetList"
}
}
}
}
}
}
},
"/news": {
"get": {
"summary": "Get the latest news about Pokémon TCG",
"operationId": "getTCGNews",
"responses": {
"200": {
"description": "Latest news articles",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NewsList"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"CardList": {
"type": "object",
"properties": {
"cards": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Card"
}
}
}
},
"Card": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"set": {
"type": "string"
}
}
},
"SetList": {
"type": "object",
"properties": {
"sets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Set"
}
}
}
},
"Set": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"releaseDate": {
"type": "string",
"format": "date"
}
}
},
"NewsList": {
"type": "object",
"properties": {
"news": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NewsArticle"
}
}
}
},
"NewsArticle": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"content": {
"type": "string"
},
"date": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}