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": "0H",
"image": "https://deckofcardsapi.com/static/img/0H.png",
"suit": "HEARTS",
"value": "10"
},
{
"code": "6H",
"image": "https://deckofcardsapi.com/static/img/6H.png",
"suit": "HEARTS",
"value": "6"
},
{
"code": "AH",
"image": "https://deckofcardsapi.com/static/img/AH.png",
"suit": "HEARTS",
"value": "ACE"
},
{
"code": "3C",
"image": "https://deckofcardsapi.com/static/img/3C.png",
"suit": "CLUBS",
"value": "3"
}
],
"deck_id": "flnoacn2uplb",
"remaining": 47
},
"success": true
}