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": "QC",
"image": "https://deckofcardsapi.com/static/img/QC.png",
"suit": "CLUBS",
"value": "QUEEN"
},
{
"code": "AC",
"image": "https://deckofcardsapi.com/static/img/AC.png",
"suit": "CLUBS",
"value": "ACE"
},
{
"code": "6H",
"image": "https://deckofcardsapi.com/static/img/6H.png",
"suit": "HEARTS",
"value": "6"
},
{
"code": "2D",
"image": "https://deckofcardsapi.com/static/img/2D.png",
"suit": "DIAMONDS",
"value": "2"
},
{
"code": "7D",
"image": "https://deckofcardsapi.com/static/img/7D.png",
"suit": "DIAMONDS",
"value": "7"
}
],
"deck_id": "8852zvwmqxk9",
"remaining": 47
},
"success": true
}