动漫资讯
最后更新于:2022-04-02 08:20:43
## 动漫资讯
>[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/d8/d9/d8d93e2ffa88d9d19fb5ee921f6846d1_200x200.png)
> 动漫资讯,带你了解二次元世界。
## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086))
### 请求地址
```
GET https://api.topthink.com/news/comic
```
### 请求参数
| 名称 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| num | int | 是 | 返回数量1-50,默认10 |
| page | int | 否 | 翻页 |
| word | string | 否 | 检索关键词 |
### 返回`data`参数
| 名称 | 类型 | 说明 |
| --- | --- | --- |
| ctime | string | 时间 |
| title | string | 标题 |
| description | string | 描述 |
| picUrl | string | 封面 |
| url | string | 链接 |
## SDK调用
```
$client = new Client("YourAppCode");
$result = $client->newsComic()
->withNum(10)
->request();
```
返回示例:
~~~
{
"code":0,
"message": "成功",
"data": [
{
"ctime":"2019-03-20 13:32",
"title":"《海贼王》娜美战斗手办发动落雷跃动感十足",
"description":"动漫星空",
"picUrl":"https://imgs.gamersky.com/upimg/2019/201903201030028458.jpg",
"url":"http://acg.gamersky.com/otaku/zb/201903/1164821.shtml"
},
{
"ctime":"2019-03-20 08:49",
"title":"《Fate》黑Saber可动手办表情配件丰富很耐玩",
"description":"动漫星空",
"picUrl":"https://imgs.gamersky.com/upimg/2019/201903191228474000.jpg",
"url":"http://acg.gamersky.com/otaku/zb/201903/1164498.shtml"
},
{
"ctime":"2019-03-19 20:46",
"title":"《FGO》拉美西斯二世手办法老王侧颜太霸气",
"description":"动漫星空",
"picUrl":"https://imgs.gamersky.com/upimg/2019/201903191834248891.jpg",
"url":"http://acg.gamersky.com/otaku/zb/201903/1164738.shtml"
}
]
}
~~~
';