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": "9S",
"image": "https://deckofcardsapi.com/static/img/9S.png",
"suit": "SPADES",
"value": "9"
},
{
"code": "2H",
"image": "https://deckofcardsapi.com/static/img/2H.png",
"suit": "HEARTS",
"value": "2"
},
{
"code": "0D",
"image": "https://deckofcardsapi.com/static/img/0D.png",
"suit": "DIAMONDS",
"value": "10"
},
{
"code": "7D",
"image": "https://deckofcardsapi.com/static/img/7D.png",
"suit": "DIAMONDS",
"value": "7"
},
{
"code": "6H",
"image": "https://deckofcardsapi.com/static/img/6H.png",
"suit": "HEARTS",
"value": "6"
}
],
"deck_id": "3umbnhxqav8c",
"remaining": 47
},
"success": true
}