GET /cards/quickdraw
Crea una nueva baraja y roba cartas inmediatamente en una sola solicitud. Perfecto para la creación rápida de prototipos de juegos de cartas.
count
opcional
predeterminado: 5
Number of cards to draw
| Nombre | Requerido | Predeterminado | Descripcion |
|---|---|---|---|
count |
No | 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": "AS",
"image": "https://deckofcardsapi.com/static/img/AS.png",
"suit": "SPADES",
"value": "ACE"
},
{
"code": "7H",
"image": "https://deckofcardsapi.com/static/img/7H.png",
"suit": "HEARTS",
"value": "7"
},
{
"code": "3H",
"image": "https://deckofcardsapi.com/static/img/3H.png",
"suit": "HEARTS",
"value": "3"
},
{
"code": "7C",
"image": "https://deckofcardsapi.com/static/img/7C.png",
"suit": "CLUBS",
"value": "7"
}
],
"deck_id": "yrsxo1zhuwuy",
"remaining": 47
},
"success": true
}