← 游戏

抽牌

GET /cards/draw/:deck_id

从先前创建的牌组中抽牌。返回牌面图片、点数和花色。

参数

count 可选 默认: 1

Number of cards to draw

请求示例

基本用法
curl "https://nordapi.ee/api/v1/cards/draw/abc123?count=5"

实时响应

HTTP 502: {
  "error": "Deck of Cards API returned 404",
  "success": false
}