Yu-Gi-Oh! AI Duelist (2.0)
Yu-Gi-Oh! AI Duelist (2.0) · GPT アクション
YGOProDeck Card Information API
API for accessing detailed information about Yu-Gi-Oh! cards.
GET /cardinfo.phpRetrieve information about Yu-Gi-Oh! cards.
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"title": "YGOProDeck Card Information API",
"description": "API for accessing detailed information about Yu-Gi-Oh! cards.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://db.ygoprodeck.com/api/v7",
"description": "YGOProDeck API Server"
}
],
"paths": {
"/cardinfo.php": {
"get": {
"operationId": "getCardInfo",
"summary": "Retrieve information about Yu-Gi-Oh! cards.",
"parameters": [
{
"name": "name",
"in": "query",
"description": "Exact name of the card.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "fname",
"in": "query",
"description": "Fuzzy search string for card name.",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "A list of cards that match the query parameters.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"frameType": {
"type": "string"
},
"desc": {
"type": "string"
},
"ygoprodeck_url": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}