GET /cards/quickdraw
Create a ny deck and immediately draw kort in one request. Perfekt för quick kortspel prototyping.
count
valfri
standard: 5
Number of cards to draw
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
count |
Nej | 5 | Number of cards to draw |
curl "https://nordapi.ee/api/v1/cards/quickdraw?count=5"
{
"data": {
"cards": [
{
"code": "AH",
"image": "https://deckofcardsapi.com/static/img/AH.png",
"suit": "HEARTS",
"value": "ACE"
},
{
"code": "7C",
"image": "https://deckofcardsapi.com/static/img/7C.png",
"suit": "CLUBS",
"value": "7"
},
{
"code": "0C",
"image": "https://deckofcardsapi.com/static/img/0C.png",
"suit": "CLUBS",
"value": "10"
},
{
"code": "KS",
"image": "https://deckofcardsapi.com/static/img/KS.png",
"suit": "SPADES",
"value": "KING"
},
{
"code": "KD",
"image": "https://deckofcardsapi.com/static/img/KD.png",
"suit": "DIAMONDS",
"value": "KING"
}
],
"deck_id": "qkvwap1tqouz",
"remaining": 47
},
"success": true
}