GET /cards/quickdraw
Créez un nouveau jeu de cartes et piochez immédiatement des cartes en une seule requête. Idéal pour le prototypage rapide de jeux de cartes.
count
optionnel
par défaut: 5
Number of cards to draw
| Nom | Requis | Par défaut | Description |
|---|---|---|---|
count |
Non | 5 | Number of cards to draw |
curl "https://nordapi.ee/api/v1/cards/quickdraw?count=5"
{
"data": {
"cards": [
{
"code": "5C",
"image": "https://deckofcardsapi.com/static/img/5C.png",
"suit": "CLUBS",
"value": "5"
},
{
"code": "6D",
"image": "https://deckofcardsapi.com/static/img/6D.png",
"suit": "DIAMONDS",
"value": "6"
},
{
"code": "5S",
"image": "https://deckofcardsapi.com/static/img/5S.png",
"suit": "SPADES",
"value": "5"
},
{
"code": "4D",
"image": "https://deckofcardsapi.com/static/img/4D.png",
"suit": "DIAMONDS",
"value": "4"
},
{
"code": "AC",
"image": "https://deckofcardsapi.com/static/img/AC.png",
"suit": "CLUBS",
"value": "ACE"
}
],
"deck_id": "sl34zoiau19k",
"remaining": 47
},
"success": true
}