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": "5H",
"image": "https://deckofcardsapi.com/static/img/5H.png",
"suit": "HEARTS",
"value": "5"
},
{
"code": "3D",
"image": "https://deckofcardsapi.com/static/img/3D.png",
"suit": "DIAMONDS",
"value": "3"
},
{
"code": "KD",
"image": "https://deckofcardsapi.com/static/img/KD.png",
"suit": "DIAMONDS",
"value": "KING"
},
{
"code": "AC",
"image": "https://deckofcardsapi.com/static/img/AC.png",
"suit": "CLUBS",
"value": "ACE"
},
{
"code": "4C",
"image": "https://deckofcardsapi.com/static/img/4C.png",
"suit": "CLUBS",
"value": "4"
}
],
"deck_id": "vfec4qzj4a5a",
"remaining": 47
},
"success": true
}