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": "AD",
"image": "https://deckofcardsapi.com/static/img/aceDiamonds.png",
"suit": "DIAMONDS",
"value": "ACE"
},
{
"code": "QS",
"image": "https://deckofcardsapi.com/static/img/QS.png",
"suit": "SPADES",
"value": "QUEEN"
},
{
"code": "0D",
"image": "https://deckofcardsapi.com/static/img/0D.png",
"suit": "DIAMONDS",
"value": "10"
},
{
"code": "QC",
"image": "https://deckofcardsapi.com/static/img/QC.png",
"suit": "CLUBS",
"value": "QUEEN"
},
{
"code": "JH",
"image": "https://deckofcardsapi.com/static/img/JH.png",
"suit": "HEARTS",
"value": "JACK"
}
],
"deck_id": "38t09tc32y4e",
"remaining": 47
},
"success": true
}