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