# 影视评论API描述
* 影视评论API共包括三个接口,分别为影视评论栏目分类API、影视评论数据列表API、影视评论内容详情API。
* 影视评论API返回影评,剧评,书评,乐评,纪录片点评,综艺点评,动画片点评,港剧点评,国产剧点评,日剧点评,韩剧点评,英剧点评,美剧点评,泰剧点评,台剧点评,termId可以指定影视评论类型。
* 影视评论API通过呆错API的网关服务对外免费提供数据接口服务,如有需要请先免费申请TOKEN即可使用。
## 影视评论栏目分类API接口
* 请求协议:http/https
* 请求方式:get/post
* 返回类型:json
* 请求接口:https://api.daicuo.cc/yingping/category
* 请求示例:https://api.daicuo.cc/yingping/category?token=6fc79c072a4500b749b5b11b9f969c8c
**请求参数**
| 参数名 | 描述 |
| --- | --- |
| token | API令牌可免费申请|
**响应示例**
```
{
"code": 200,
"msg": "成功",
"time": "1673704025",
"data": [{
"term_id": 66,
"term_name": "纪录片点评",
"term_slug": "jilupiandianping"
}, {
"term_id": 74,
"term_name": "综艺点评",
"term_slug": "zongyidianping"
}, {
"term_id": 78,
"term_name": "动画片点评",
"term_slug": "donghuapiandianping"
}, {
"term_id": 83,
"term_name": "影评",
"term_slug": "yingping"
}, {
"term_id": 89,
"term_name": "港剧点评",
"term_slug": "gangjudianping"
}, {
"term_id": 93,
"term_name": "国产剧点评",
"term_slug": "guochanjudianping"
}, {
"term_id": 95,
"term_name": "日剧点评",
"term_slug": "rijudianping"
}, {
"term_id": 98,
"term_name": "韩剧点评",
"term_slug": "hanjudianping"
}, {
"term_id": 102,
"term_name": "英剧点评",
"term_slug": "yingjudianping"
}, {
"term_id": 107,
"term_name": "美剧点评",
"term_slug": "meijudianping"
}, {
"term_id": 110,
"term_name": "剧评",
"term_slug": "juping"
}, {
"term_id": 122,
"term_name": "泰剧点评",
"term_slug": "taijudianping"
}, {
"term_id": 825,
"term_name": "台剧点评",
"term_slug": "taiwanjudianping"
}, {
"term_id": 14754,
"term_name": "书评",
"term_slug": "shuping"
}, {
"term_id": 14755,
"term_name": "乐评",
"term_slug": "yueping"
}, {
"term_id": 14760,
"term_name": "电影点评",
"term_slug": "dianyingdianping"
}]
}
```
## 影视评论数据列表API接口
* 请求协议:http/https
* 请求方式:get/post
* 返回类型:json
* 请求接口:https://api.daicuo.cc/yingping/item
* 请求示例:https://api.daicuo.cc/yingping/item?token=6fc79c072a4500b749b5b11b9f969c8c&termId=66&pageStart=1
**请求参数**
| 参数名 | 描述 |
| --- | --- |
| token | API令牌可免费申请|
| pageStart | 起始ID,上一页返回的start_id|
| sortOrder | 排序方式(asc|desc)|
| termId | 栏目分类ID|
**响应示例**
```
{
"code": 200,
"msg": "成功",
"time": "1673704192",
"data": {
"per_page": 10,
"has_more": true,
"start_id": 10010,
"list": [{
"info_name": "戏剧新生活《在这个看视频都要用倍速的时代,你还愿意走进剧场吗?》",
"info_slug": "zzgkspdyybsdsdnhyyzjjcm",
"info_excerpt": "话剧一直是我向往去欣赏的一种艺术形式,去年十月是我第一次到大剧场看一出话剧《两只狗的生活意见》 这种艺术,比音乐剧、交响乐,门槛要低,比较适合我们这种普通人家长大的小孩欣赏 “整场演出就两个演员” 入场之后朋友小声跟我嘀咕 照我之前对话剧的理解,怎么也得有十几个演员,换服装、换场景,翻来覆去好几幕呢 “演出开始前,请将您的手机调至关机或静音状态。” 黑暗中我看看攥在手中的票(忍不住的瞄了一眼票价),感到一阵肉疼... 过年期间,之前一起看话剧的朋友微信我。“看《戏剧新生活》了...",
"info_update_time": "2022-03-16 15:42:10",
"info_type": "index",
"info_views": 281,
"info_hits": 274,
"info_id": 10000,
"cms_referer": "f936ce77d8d34b8420c4cd5032418112"
}, {
"info_name": "戏剧新生活《就这样吧》",
"info_slug": "jzyb",
"info_excerpt": "已经播了一半了,我喜欢心灵手巧又会做“小猪食”的刘晓邑,喜欢他虽然没拉过生意但愿意想愿意做的态度、头脑。我喜欢赵晓苏,喜欢他的细心和高情商也喜欢他的戏好,他演和自己反差大的反派也好看。 深深喜欢着大家的才华。 就是,中间插了个带资进组的,我觉得他真是带资进组的,他来的第一期,因为路人不买票就道德绑架别人,说别人100块钱打折都不愿意花,别给我解释什么他卖不出去票急的,但那些路人也是第一次买票,前面不买票的其他路人又不是这样路人雇的,他卖不出去为什么要把火洒在后面的人身上呢,有...",
"info_update_time": "2022-03-16 15:42:11",
"info_type": "index",
"info_views": 587,
"info_hits": 572,
"info_id": 10001,
"cms_referer": "f141617b3d5f7fce03091c6a43a91aac"
}]
}
}
```
## 影视评论内容详情API接口
* 请求协议:http/https
* 请求方式:get/post
* 返回类型:json
* 请求接口:https://api.daicuo.cc/yingping/index
* 请求示例:https://api.daicuo.cc/yingping/index?token=6fc79c072a4500b749b5b11b9f969c8c&id=9963
**请求参数**
| 参数名 | 描述 |
| --- | --- |
| token | API令牌可免费申请|
| id| 内容ID |
**响应示例**
```
{
"code": 200,
"msg": "成功",
"data": {
"info_id": 9963,
"info_name": "蜘蛛侠:英雄无归《客厅电影》",
"info_slug": "ktdy",
"info_module": "cms",
"info_controll": "detail",
"info_action": "index",
"info_excerpt": "超级英雄电影——至少是MCU电影——正处于完全丧失魅力的边缘时刻。",
"info_content": "超级英雄电影——至少是MCU电影——正处于完全丧失魅力的边缘时刻。一个比喻可以简单地解释其原因:设想一间客厅,那么始终在客厅里坐着的是主人,而偶尔走进来逛一下的人则是客人;但如果客人的数量庞大到每时每刻都有人在走进客厅,而主人被淹没在人群中、甚至很多时候不得不给客人让座,这时候显然就主客莫辨了。",
"info_create_time": "2022-03-15 15:49:37",
"info_update_time": "2022-03-16 15:12:57",
"info_order": 0,
"info_type": "index",
"info_views": 1895,
"info_hits": 1895,
"cms_cover": "https:/\/img9.doubanio.com\/view\/photo\/m_ratio_poster\/public\/p2730024046.jpg",
"cms_up": "103",
"cms_down": "103",
"cms_referer": "549d235f145bafd4e39e5eddf0780741",
"cms_letter": "k",
"cms_top": "0",
"cms_recommend": "0",
"cms_fast": "0",
"cms_head": "0",
"category_id": [83],
"category_name": ["电影点评"],
"tag_id": {
"1": 137,
"2": 134,
"3": 108,
"4": 88,
"5": 86,
"6": 79,
"7": 158,
"8": 159,
"9": 160
},
"tag_name": {
"1": "动作",
"2": "科幻",
"3": "美国",
"4": "电影",
"5": "影评",
"6": "2021",
"7": "冰岛",
"8": "冒险",
"9": "蜘蛛侠:英雄无归"
},
"cms_slide": ""
}
}
```