GET /cards/quickdraw
Luo uusi pakka ja nosta kortit välittömästi yhdellä pyynnöllä. Täydellinen korttipelin nopeaan prototypointiin.Luo uusi korttipakka ja nosta kortit välittömästi yhdellä pyynnöllä. Sopii nopeaan korttipelien prototyyppiin.
count
valinnainen
oletus: 5
Number of cards to draw
| Nimi | Pakollinen | Oletus | Kuvaus |
|---|---|---|---|
count |
Ei | 5 | Number of cards to draw |
curl "https://nordapi.ee/api/v1/cards/quickdraw?count=5"
{
"data": {
"cards": [
{
"code": "8S",
"image": "https://deckofcardsapi.com/static/img/8S.png",
"suit": "SPADES",
"value": "8"
},
{
"code": "9C",
"image": "https://deckofcardsapi.com/static/img/9C.png",
"suit": "CLUBS",
"value": "9"
},
{
"code": "JC",
"image": "https://deckofcardsapi.com/static/img/JC.png",
"suit": "CLUBS",
"value": "JACK"
},
{
"code": "4C",
"image": "https://deckofcardsapi.com/static/img/4C.png",
"suit": "CLUBS",
"value": "4"
},
{
"code": "4H",
"image": "https://deckofcardsapi.com/static/img/4H.png",
"suit": "HEARTS",
"value": "4"
}
],
"deck_id": "gfx85xjgyicj",
"remaining": 47
},
"success": true
}