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": "0H",
"image": "https://deckofcardsapi.com/static/img/0H.png",
"suit": "HEARTS",
"value": "10"
},
{
"code": "4H",
"image": "https://deckofcardsapi.com/static/img/4H.png",
"suit": "HEARTS",
"value": "4"
},
{
"code": "KH",
"image": "https://deckofcardsapi.com/static/img/KH.png",
"suit": "HEARTS",
"value": "KING"
},
{
"code": "6H",
"image": "https://deckofcardsapi.com/static/img/6H.png",
"suit": "HEARTS",
"value": "6"
},
{
"code": "AC",
"image": "https://deckofcardsapi.com/static/img/AC.png",
"suit": "CLUBS",
"value": "ACE"
}
],
"deck_id": "y1e3pz45s6mq",
"remaining": 47
},
"success": true
}