← Spiele

Schnellziehung

GET /cards/quickdraw

Erstellen Sie ein neues deck und immediately draw cards in one request. Ideal für quick card game prototyping.

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": "3H",
        "image": "https://deckofcardsapi.com/static/img/3H.png",
        "suit": "HEARTS",
        "value": "3"
      },
      {
        "code": "3S",
        "image": "https://deckofcardsapi.com/static/img/3S.png",
        "suit": "SPADES",
        "value": "3"
      },
      {
        "code": "KC",
        "image": "https://deckofcardsapi.com/static/img/KC.png",
        "suit": "CLUBS",
        "value": "KING"
      },
      {
        "code": "KH",
        "image": "https://deckofcardsapi.com/static/img/KH.png",
        "suit": "HEARTS",
        "value": "KING"
      },
      {
        "code": "KD",
        "image": "https://deckofcardsapi.com/static/img/KD.png",
        "suit": "DIAMONDS",
        "value": "KING"
      }
    ],
    "deck_id": "9jsg61yzyyo7",
    "remaining": 47
  },
  "success": true
}