← 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": "7D",
        "image": "https://deckofcardsapi.com/static/img/7D.png",
        "suit": "DIAMONDS",
        "value": "7"
      },
      {
        "code": "KC",
        "image": "https://deckofcardsapi.com/static/img/KC.png",
        "suit": "CLUBS",
        "value": "KING"
      },
      {
        "code": "8S",
        "image": "https://deckofcardsapi.com/static/img/8S.png",
        "suit": "SPADES",
        "value": "8"
      },
      {
        "code": "4D",
        "image": "https://deckofcardsapi.com/static/img/4D.png",
        "suit": "DIAMONDS",
        "value": "4"
      },
      {
        "code": "0D",
        "image": "https://deckofcardsapi.com/static/img/0D.png",
        "suit": "DIAMONDS",
        "value": "10"
      }
    ],
    "deck_id": "r362tiwq2r2l",
    "remaining": 47
  },
  "success": true
}