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": "AH",
"image": "https://deckofcardsapi.com/static/img/AH.png",
"suit": "HEARTS",
"value": "ACE"
},
{
"code": "2D",
"image": "https://deckofcardsapi.com/static/img/2D.png",
"suit": "DIAMONDS",
"value": "2"
},
{
"code": "2H",
"image": "https://deckofcardsapi.com/static/img/2H.png",
"suit": "HEARTS",
"value": "2"
},
{
"code": "QC",
"image": "https://deckofcardsapi.com/static/img/QC.png",
"suit": "CLUBS",
"value": "QUEEN"
},
{
"code": "4H",
"image": "https://deckofcardsapi.com/static/img/4H.png",
"suit": "HEARTS",
"value": "4"
}
],
"deck_id": "j6hfhopqyqpf",
"remaining": 47
},
"success": true
}