GET /cards/quickdraw
Create a new deck and immediately draw cards in one request. Perfect for quick card game prototyping.
count
optional
default: 5
Number of cards to draw
| Name | Required | Default | Description |
|---|---|---|---|
count |
No | 5 | Number of cards to draw |
curl "https://nordapi.ee/api/v1/cards/quickdraw?count=5"
{
"data": {
"cards": [
{
"code": "0D",
"image": "https://deckofcardsapi.com/static/img/0D.png",
"suit": "DIAMONDS",
"value": "10"
},
{
"code": "6C",
"image": "https://deckofcardsapi.com/static/img/6C.png",
"suit": "CLUBS",
"value": "6"
},
{
"code": "5D",
"image": "https://deckofcardsapi.com/static/img/5D.png",
"suit": "DIAMONDS",
"value": "5"
},
{
"code": "9C",
"image": "https://deckofcardsapi.com/static/img/9C.png",
"suit": "CLUBS",
"value": "9"
},
{
"code": "4S",
"image": "https://deckofcardsapi.com/static/img/4S.png",
"suit": "SPADES",
"value": "4"
}
],
"deck_id": "qq77bm606f6c",
"remaining": 47
},
"success": true
}