← 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": "5D",
        "image": "https://deckofcardsapi.com/static/img/5D.png",
        "suit": "DIAMONDS",
        "value": "5"
      },
      {
        "code": "AD",
        "image": "https://deckofcardsapi.com/static/img/aceDiamonds.png",
        "suit": "DIAMONDS",
        "value": "ACE"
      },
      {
        "code": "3H",
        "image": "https://deckofcardsapi.com/static/img/3H.png",
        "suit": "HEARTS",
        "value": "3"
      },
      {
        "code": "KH",
        "image": "https://deckofcardsapi.com/static/img/KH.png",
        "suit": "HEARTS",
        "value": "KING"
      },
      {
        "code": "4S",
        "image": "https://deckofcardsapi.com/static/img/4S.png",
        "suit": "SPADES",
        "value": "4"
      }
    ],
    "deck_id": "j9h3hvxev4m5",
    "remaining": 47
  },
  "success": true
}