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": "7S",
"image": "https://deckofcardsapi.com/static/img/7S.png",
"suit": "SPADES",
"value": "7"
},
{
"code": "QC",
"image": "https://deckofcardsapi.com/static/img/QC.png",
"suit": "CLUBS",
"value": "QUEEN"
},
{
"code": "7C",
"image": "https://deckofcardsapi.com/static/img/7C.png",
"suit": "CLUBS",
"value": "7"
},
{
"code": "AS",
"image": "https://deckofcardsapi.com/static/img/AS.png",
"suit": "SPADES",
"value": "ACE"
},
{
"code": "JD",
"image": "https://deckofcardsapi.com/static/img/JD.png",
"suit": "DIAMONDS",
"value": "JACK"
}
],
"deck_id": "isslq3hb0ih4",
"remaining": 47
},
"success": true
}