← Spiele

Schnellziehung

GET /cards/quickdraw

Erstellen Sie ein neues Deck und ziehen Sie sofort Karten in einer einzigen Anfrage. Ideal für schnelles Prototyping von Kartenspielen.

Parameter

count optional Standard: 5

Number of cards to draw

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/cards/quickdraw?count=5"

Live-Antwort

{
  "data": {
    "cards": [
      {
        "code": "8H",
        "image": "https://deckofcardsapi.com/static/img/8H.png",
        "suit": "HEARTS",
        "value": "8"
      },
      {
        "code": "4D",
        "image": "https://deckofcardsapi.com/static/img/4D.png",
        "suit": "DIAMONDS",
        "value": "4"
      },
      {
        "code": "2H",
        "image": "https://deckofcardsapi.com/static/img/2H.png",
        "suit": "HEARTS",
        "value": "2"
      },
      {
        "code": "QS",
        "image": "https://deckofcardsapi.com/static/img/QS.png",
        "suit": "SPADES",
        "value": "QUEEN"
      },
      {
        "code": "5D",
        "image": "https://deckofcardsapi.com/static/img/5D.png",
        "suit": "DIAMONDS",
        "value": "5"
      }
    ],
    "deck_id": "ahql18lautyv",
    "remaining": 47
  },
  "success": true
}