> ## Documentation Index
> Fetch the complete documentation index at: https://doc.va777.net/llms.txt
> Use this file to discover all available pages before exploring further.

# 取得遊戲列表

> [!NOTE]
>
> * 遊戲名稱會因應傳入語系參數改變。
> * 此服務有連線次數限制，限制為每秒限制呼叫 1 次 (1/s)。
> * 每款遊戲皆有其支援幣別，若有需求請洽我方客服人員。

## 請求參數

**lang** `string` *required*

遊戲語系 (請參照[支援語系表](https://doc.va777.net/reference/languages.md)，預設為en-US)

**sign** `string` *required*

簽章，產生方式請參考[簽章規則](https://doc.va777.net/guides/signature.md)

## 回應

成功（HTTP 狀態碼固定為 200，請以 `status.code` 判斷結果）

**data** `object`

**屬性**

**gameList** `object[]`

遊戲列表

**屬性**

**gameID** `number`

遊戲編號

**gameType** `string`

遊戲類型 \[slot,fishing,tableGame]

**gameName** `string`

遊戲名稱

**currency** `string`

遊戲支援幣別

**status** `object`

每次回應都會附帶的請求處理狀態

**屬性**

**code** `string`

回應訊息碼，請參照[回應訊息碼](https://doc.va777.net/reference/response-codes.md)

**message** `string`

回應詳細訊息

**datetime** `string`

請求接收時間，格式為 RFC3339

**traceCode** `string`

回應追蹤碼（唯一值），供雙方比對回應內容

```json 200 theme={null}
{
  "data": {
    "gameList": [
      {
        "gameID": 24,
        "gameType": "slot",
        "gameName": "超級霸",
        "currency": [
          "CNY",
          "JPY",
          "MMK"
        ]
      },
      {
        "gameID": 66,
        "gameType": "slot",
        "gameName": "世界旅人",
        "currency": [
          "CNY",
          "VND"
        ]
      }
    ]
  },
  "status": {
    "code": "0",
    "message": "success",
    "datetime": "2022-07-01T10:13:54.920+08:00",
    "traceCode": "7cf25e1957cc47fe8e01f1a7c6d504d6"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.