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": "JH",
"image": "https://deckofcardsapi.com/static/img/JH.png",
"suit": "HEARTS",
"value": "JACK"
},
{
"code": "AC",
"image": "https://deckofcardsapi.com/static/img/AC.png",
"suit": "CLUBS",
"value": "ACE"
},
{
"code": "JC",
"image": "https://deckofcardsapi.com/static/img/JC.png",
"suit": "CLUBS",
"value": "JACK"
},
{
"code": "6D",
"image": "https://deckofcardsapi.com/static/img/6D.png",
"suit": "DIAMONDS",
"value": "6"
},
{
"code": "AD",
"image": "https://deckofcardsapi.com/static/img/aceDiamonds.png",
"suit": "DIAMONDS",
"value": "ACE"
}
],
"deck_id": "owwuii7afxkf",
"remaining": 47
},
"success": true
}