@TOC
前言
<font color=#999AAA > 该 Api 提供影片列表、影片详情以及用户注册、登录等性能。</font>
一,影片相干接口
1,影片相干字段阐明:
`id` int(11) NOT NULL,
`vod_title` varchar(255) NOT NULL COMMENT '视频名称',
`vod_sub_title` varchar(255) DEFAULT NULL COMMENT '视频别名',
`vod_blurb` varchar(255) DEFAULT NULL COMMENT '简介',
`vod_content` longtext COMMENT '具体介绍',
`vod_status` int(11) DEFAULT '0' COMMENT '状态',
`vod_type` varchar(255) DEFAULT NULL COMMENT '视频分类',
`vod_class` varchar(255) DEFAULT NULL COMMENT '扩大分类',
`vod_tag` varchar(255) DEFAULT NULL,
`vod_pic_url` varchar(255) DEFAULT NULL COMMENT '图片 url',
`vod_pic_path` varchar(255) DEFAULT NULL COMMENT '图片下载保留门路',
`vod_pic_thumb` varchar(255) DEFAULT NULL,
`vod_actor` varchar(255) DEFAULT NULL COMMENT '演员',
`vod_director` varchar(255) DEFAULT NULL COMMENT '导演',
`vod_writer` varchar(255) DEFAULT NULL COMMENT '编剧',
`vod_remarks` varchar(255) DEFAULT NULL COMMENT '影片版本',
`vod_pubdate` int(11) DEFAULT NULL,
`vod_area` varchar(255) DEFAULT NULL COMMENT '地区',
`vod_lang` varchar(255) DEFAULT NULL COMMENT '语言',
`vod_year` varchar(255) DEFAULT NULL COMMENT '年代',
`vod_hits` int(11) DEFAULT '0' COMMENT '总浏览数',
`vod_hits_day` int(11) DEFAULT '0' COMMENT '一天浏览数',
`vod_hits_week` int(11) DEFAULT '0' COMMENT '一周浏览数',
`vod_hits_month` int(11) DEFAULT '0' COMMENT '一月浏览数',
`vod_up` int(11) DEFAULT '0' COMMENT '顶数',
`vod_down` int(11) DEFAULT '0' COMMENT '踩数',
`vod_score` decimal(3,1) DEFAULT '0.0' COMMENT '评分',
`vod_score_all` int(11) DEFAULT '0' COMMENT '总评分',
`vod_score_num` int(11) DEFAULT '0' COMMENT '总评人数',
`vod_create_time` int(11) DEFAULT NULL COMMENT '创立工夫',
`vod_update_time` int(11) DEFAULT NULL COMMENT '更新工夫',
`vod_lately_hit_time` int(11) DEFAULT NULL COMMENT '最初浏览工夫',
`vod_lately_ip` bigint(255) DEFAULT NULL COMMENT '最初一次浏览的客户端 ip'
2,影片列表页接口
URI 地址:https://api.shipinbofang.com/…
申请形式:GET 或者 POST
传入参数:
字段 | 值示例 | 阐明 |
---|---|---|
page | 2 | 分页页码 |
sort | vod_title | 排序 (示例是依照影片题目排序) |
VodDetailSearch[*] | VodDetailSearch[vod_title]= 海贼王 | 按给定条件过滤符合条件的影片 |
<font color=#999AAA > 提醒:实践上能够依据影片所有字段排序和过滤,反对任何字段组合,请依据须要自行抉择。</font>
相应内容示例:
[{
"id": 62458,
"url": "https://okzy.co/?m=vod-detail-id-64807.html",
"url_id": "bcdc425930f90b4e190e68437c65f3e1",
"vod_title": "说电影《奇幻人生》",
"vod_sub_title": "","vod_blurb": null,"vod_content":" 说电影《奇幻人生》","vod_status": 1,"vod_type":" 电影讲解 ","vod_class":"",
"vod_tag": null,
"vod_pic_url": "https://rpg.pic-imges.com/pic/upload/vod/2020-09/202009271601169974.jpeg",
"vod_pic_path": "/upload/images/shuodianyingqihuanrensheng/202009271601169974.jpeg",
"vod_pic_thumb": null,
"vod_actor": "","vod_director":"",
"vod_writer": null,
"vod_remarks": "","vod_pubdate": null,"vod_area":" 美国 ","vod_lang":" 英语 ","vod_year":"2006","vod_hits": 7,"vod_hits_day": 6,"vod_hits_week": 6,"vod_hits_month": 6,"vod_up": 0,"vod_down": 0,"vod_score":"0.0","vod_score_all": 0,"vod_score_num": 0,"vod_create_time": 1601170026,"vod_update_time": 1601170026,"vod_lately_hit_time": 1601199515,"vod_lately_ip": null,"playurls": [{"id": 796949,"play_title":" 选集 ","play_from":"ckm3u8","play_url":"https://good.jieshuo-okzy.com/20200926/7445_aa5fdae6/index.m3u8","play_url_aes":"7eaa3f0cfa4d3e8c8e0160ee44a16f4f","url_id":"bcdc425930f90b4e190e68437c65f3e1","create_time": 1601170026,"update_time": 1601170026},
{
"id": 796951,
"play_title": "选集",
"play_from": "迅雷下载",
"play_url": "http://okxxxzy.xzokzyzy.com/20200926/7445_aa5fdae6/ 奇幻人生 2006 美国.mp4",
"play_url_aes": "a6668533997279db41030090e8c0c7d0",
"url_id": "bcdc425930f90b4e190e68437c65f3e1",
"create_time": 1601170026,
"update_time": 1601170026
}
]
},
.....
{
"id": 62456,
"url": "https://okzy.co/?m=vod-detail-id-64806.html",
"url_id": "919a103b9f0f486c992b4bf597788c4a",
"vod_title": "说电影《刺客战场》",
"vod_sub_title": "","vod_blurb": null,"vod_content":" 说电影《刺客战场》","vod_status": 1,"vod_type":" 电影讲解 ","vod_class":"",
"vod_tag": null,
"vod_pic_url": "https://rpg.pic-imges.com/pic/upload/vod/2020-09/202009271601169881.jpeg",
"vod_pic_path": "/upload/images/shuodianyingcikezhanchang/202009271601169881.jpeg",
"vod_pic_thumb": null,
"vod_actor": "","vod_director":"",
"vod_writer": null,
"vod_remarks": "","vod_pubdate": null,"vod_area":" 美国 ","vod_lang":" 英语 ","vod_year":"1995","vod_hits": 6,"vod_hits_day": 5,"vod_hits_week": 5,"vod_hits_month": 5,"vod_up": 0,"vod_down": 0,"vod_score":"0.0","vod_score_all": 0,"vod_score_num": 0,"vod_create_time": 1601169935,"vod_update_time": 1601169935,"vod_lately_hit_time": 1601199515,"vod_lately_ip": null,"playurls": [{"id": 796943,"play_title":" 选集 ","play_from":"ckm3u8","play_url":"https://good.jieshuo-okzy.com/20200926/7446_4e0d7134/index.m3u8","play_url_aes":"51de7a1f3595f24d2899c86174fe2513","url_id":"919a103b9f0f486c992b4bf597788c4a","create_time": 1601169935,"update_time": 1601169935},
{
"id": 796946,
"play_title": "选集",
"play_from": "迅雷下载",
"play_url": "http://okxxxzy.xzokzyzy.com/20200926/7446_4e0d7134/ 刺客战场 1995 美国.mp4",
"play_url_aes": "3edfad776fbe1b205fa7064d2ed7bc8c",
"url_id": "919a103b9f0f486c992b4bf597788c4a",
"create_time": 1601169935,
"update_time": 1601169935
}
]
}
]
<font color=#999AAA > 提醒:响应的后果是一条长度为 20 的汇合(List),相干字段的含意请对照上述影片相干字段阐明。</font>
3, 影片详情页接口
URI 地址:https://api.shipinbofang.com/…*
申请形式:GET 或者 POST
传入参数:影片 ID
相应内容示例:http://api.shipinbofang.com/v…
{
"id": 10000,
"url": "https://okzy.co/?m=vod-detail-id-54681.html",
"url_id": "ec49d54502e6a9d0aa4388b1409ba785",
"vod_title": "奇诺之旅:疾病之国 -For You-",
"vod_sub_title": "Gekijô ban kino no tabi: Byôki no kuni - For you",
"vod_blurb": null,
"vod_content": "旅行中的奇诺和艾鲁梅斯来到了一个迷信高度发达的文化国家。在安宁的环境下,该国家人民均生存在巨蛋之内。一方面,这个国家是由卓越人士们发明进去的“开辟地”,然而另一方面,他们又同时渴望着巨蛋之外实在的阳光和土地。",
"vod_status": 1,
"vod_type": "日韩动漫",
"vod_class": "","vod_tag": null,"vod_pic_url":"https://rpg.pic-imges.com/pic/upload/vod/2020-04/1587400286.jpg","vod_pic_path":"/upload/images/qinuozhilvjibingzhiguoForYou/1587400286.jpg","vod_pic_thumb": null,"vod_actor":" 前田爱, 相ヶ瀬龙史, 川澄绫子 ","vod_director":" 中村隆太郎 ","vod_writer": null,"vod_remarks":"HD","vod_pubdate": null,"vod_area":" 日本 ","vod_lang":" 日语 ","vod_year":"2007","vod_hits": 2,"vod_hits_day": 1,"vod_hits_week": 1,"vod_hits_month": 1,"vod_up": 0,"vod_down": 0,"vod_score":"7.9","vod_score_all": 0,"vod_score_num": 0,"vod_create_time": 1587400286,"vod_update_time": 1587400286,"vod_lately_hit_time": 1601201193,"vod_lately_ip": null,"playurls": [
{
"id": 193642,
"play_title": "HD 高清",
"play_from": "ckm3u8",
"play_url": "https://iqiyi.cdn25-okzy.com/20200420/3846_f7d0c048/index.m3u8",
"play_url_aes": "7445fa44ea199e0c6c5a9be0d5fdddf6",
"url_id": "ec49d54502e6a9d0aa4388b1409ba785",
"create_time": 1587400286,
"update_time": 1587400286
},
{
"id": 193690,
"play_title": "HD 高清",
"play_from": "迅雷下载",
"play_url": "http://down.okdown7.com/20200420/3846_f7d0c048/ 第 1 话奇诺之旅疾病之国日语_高清.mp4",
"play_url_aes": "e54b606dbcff8226a4f68f9af68d2007",
"url_id": "ec49d54502e6a9d0aa4388b1409ba785",
"create_time": 1587400286,
"update_time": 1587400286
}
]
}