谜语大全
最后更新于:2022-04-02 08:22:39
## 谜语大全
>[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/ac/14/ac1402c00267df00f3335ca9bedfb2d9_200x200.png)
> 随机返回一条带提示的谜语,并返回相应的谜底答案。
## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086))
### 请求地址
```
GET https://api.topthink.com/wiki/riddle
```
### 请求参数
无
### 返回`data`参数
| 名称 | 类型 | 示例值 | 说明 |
| --- | --- | --- | --- |
| quest | string | 羊不呼吸了叫什么?(打一成语) | 谜语 |
| answer | string | 扬眉吐气 | 谜底答案 |
## SDK调用
```
$client = new Client("YourAppCode");
$result = $client->wikiRiddle()
->request();
```
返回示例:
~~~
{
"code":0,
"message": "成功",
"data": [
{
"quest":"羊不呼吸了叫什么?(打一成语)",
"answer":"扬眉吐气"
}
]
}
~~~
';