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": "JS",
"image": "https://deckofcardsapi.com/static/img/JS.png",
"suit": "SPADES",
"value": "JACK"
},
{
"code": "2C",
"image": "https://deckofcardsapi.com/static/img/2C.png",
"suit": "CLUBS",
"value": "2"
},
{
"code": "QC",
"image": "https://deckofcardsapi.com/static/img/QC.png",
"suit": "CLUBS",
"value": "QUEEN"
},
{
"code": "7C",
"image": "https://deckofcardsapi.com/static/img/7C.png",
"suit": "CLUBS",
"value": "7"
},
{
"code": "6H",
"image": "https://deckofcardsapi.com/static/img/6H.png",
"suit": "HEARTS",
"value": "6"
}
],
"deck_id": "juonr3jveif4",
"remaining": 47
},
"success": true
}