Card Master GPT
Card Master GPT · GPT 작업
Deck of Cards API
Provides functionalities to simulate actions with a deck of cards, like shuffling, drawing, and handling piles.
GET /deck/new/shuffle/CreateAndShuffleDeckCreates and shuffles a new deck of cards.
GET /deck/{deck_id}/draw/DrawCardsDraws cards from a specific deck.
GET /deck/{deck_id}/shuffle/ReshuffleDeckReshuffles an existing deck.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Deck of Cards API",
"description": "Provides functionalities to simulate actions with a deck of cards, like shuffling, drawing, and handling piles.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://deckofcardsapi.com/api"
}
],
"paths": {
"/deck/new/shuffle/": {
"get": {
"description": "Creates and shuffles a new deck of cards.",
"operationId": "CreateAndShuffleDeck",
"parameters": [
{
"name": "deck_count",
"in": "query",
"description": "The number of decks to use.",
"required": false,
"schema": {
"type": "integer"
}
}
],
"responses": {}
}
},
"/deck/{deck_id}/draw/": {
"get": {
"description": "Draws cards from a specific deck.",
"operationId": "DrawCards",
"parameters": [
{
"name": "deck_id",
"in": "path",
"description": "The unique identifier of the deck.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "count",
"in": "query",
"description": "The number of cards to draw.",
"required": false,
"schema": {
"type": "integer"
}
}
],
"responses": {}
}
},
"/deck/{deck_id}/shuffle/": {
"get": {
"description": "Reshuffles an existing deck.",
"operationId": "ReshuffleDeck",
"parameters": [
{
"name": "deck_id",
"in": "path",
"description": "The unique identifier of the deck.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {}
}
}
},
"components": {
"schemas": {}
}
}