phpapi实例maccms,苹果cmsV10API接⼝说明
api接⼝仅供提供数据,可以直接在苹果CMS后台联盟采集中加⼊-并提供给他⼈采集。
联盟资源分配唯⼀标识ID,⽤来区别绑定分类,这个ID⼀般由苹果CMS官⽅提供,不可随意修改设置,否则造成⼊库分类错乱。
视频接⼝同时⽀持⽼板xml格式的数据,增加参数 &at=xml即可。
列表数据格式:
{"code":1,"msg":"数据列表","page":1,"pagecount":1,"limit":"20","total":15,"list":[{"vod_id":21,"vod_name":"情
剑","type_id":6,"type_name":"动作⽚","vod_en":"qingjian","vod_time":"2018-03-29 20:50:19","vod_remarks":"超
清","vod_play_from":"youku"},{"vod_id":20,"vod_name":"暴⼒街区","type_id":6,"type_name":"动作
⽚","vod_en":"baolijiequ","vod_time":"2018-03-27 21:17:52","vod_remarks":"超清","vod_play_from":"youku"},
影视资源站采集api接口数据
{"vod_id":19,"vod_name":"超凡蜘蛛侠2","type_id":6,"type_name":"动作⽚","vod_en":"chaofanzhizhuxia2","vod_time":"2018-03-27 21:17:51","vod_remarks":"⾼清","vod_play_from":"youku"},{"vod_id":18,"vod_name":"⽊星上⾏","type_id":6,"type_name":"动作⽚","vod_en":"muxingshangxing","vod_time":"2018-03-27 21:17:37","vod_remarks":"⾼清","vod_play_from":"youku"},
{"vod_id":15,"vod_name":"英雄本⾊2018","type_id":6,"type_name":"动作⽚","vod_en":"yingxiongbense2018","vod_time":"2018-03-22 16:09:17","vod_remarks":"⾼清","vod_play_from":"qiyi,sinahd"},{"vod_id":13,"vod_name":"飘⾹剑
⾬","type_id":8,"type_name":"爱情⽚","vod_en":"piaoxiangjianyu","vod_time":"2018-03-21 20:37:52","vod_remarks":"全36集","vod_play_from":"youku,qiyi"},{"vod_id":14,"vod_name":"怪谈之魅影惊魂","type_id":8,"type_name":"爱情
⽚","vod_en":"guaitanzhimeiyingjinghun","vod_time":"2018-03-20 21:32:27","vod_remarks":"⾼清","vod_play_from":"qiyi"}, {"vod_id":12,"vod_name":"桃李劫","type_id":8,"type_name":"爱情⽚","vod_en":"taolijie","vod_time":"2018-03-20
21:32:26","vod_remarks":"⾼清","vod_play_from":"mgtv,pptv"},{"vod_id":9,"vod_name":"胡杨的夏天","
type_id":7,"type_name":"喜剧⽚","vod_en":"huyangdexiatian","vod_time":"2018-03-20 21:32:00","vod_remarks":"⾼
清","vod_play_from":"27pan,mgtv,qiyi,qq,youku"},{"vod_id":10,"vod_name":"宝贝特攻","type_id":7,"type_name":"喜剧
⽚","vod_en":"baobeitegong","vod_time":"2018-03-20 21:32:00","vod_remarks":"⾼清","vod_play_from":"mgtv,qiyi,qq,youku"}, {"vod_id":11,"vod_name":"午夜劫案","type_id":7,"type_name":"喜剧⽚","vod_en":"wuyejiean","vod_time":"2018-03-20
21:32:00","vod_remarks":"⾼清","vod_play_from":"qiyi"},{"vod_id":6,"vod_name":"密战","type_id":6,"type_name":"动作⽚","vod_en":"mizhan","vod_time":"2018-03-20 21:31:41","vod_remarks":"全30
集","vod_play_from":"mgtv,youku,27pan,qiyi,qq,pptv"},{"vod_id":7,"vod_name":"⿊道⽼师","type_id":6,"type_name":"动作⽚","vod_en":"heidaolaoshi","vod_time":"2018-03-20 21:31:41","vod_remarks":"⾼清","vod_play_from":"sohu,pptv"},
{"vod_id":8,"vod_name":"跃影江湖之森罗万象","type_id":6,"type_name":"动作
⽚","vod_en":"yueyingjianghuzhisenluowanxiang","vod_time":"2018-03-20 21:31:41","vod_remarks":"⾼
清","vod_play_from":"qq"},{"vod_id":4,"vod_name":"我的青春遇见你","type_id":13,"type_name":"国产
剧","vod_en":"wodeqingchunyujianni","vod_time":"2018-03-20 19:26:54","vod_remarks":"56集
全","vod_play_from":"youku,xigua"}],"class":[{"type_id":1,"type_name":"电影"},{"type_id":2,"type_name":"连续剧"},
{"type_id":3,"type_name":"综艺"},{"type_id":4,"type_name":"动漫"},{"type_id":5,"type_name":"资讯"},{"type_id":6,"type_name":"动作⽚"},{"type_id":7,"type_name":"喜剧⽚"},{"type_id":8,"type_name":"爱情⽚"},{"type_id":9,"type_name":"科幻⽚"},
{"type_id":10,"type_name":"恐怖⽚"},{"type_id":11,"type_name":"剧情⽚"},{"type_id":12,"type_name":"战争⽚"},
{"type_id":13,"type_name":"国产剧"},{"type_id":14,"type_name":"港台剧"},{"type_id":15,"type_name":"⽇韩剧"},
{"type_id":16,"type_name":"欧美剧"},{"type_id":17,"type_name":"公告"},{"type_id":18,"type_name":"头条"}]}
列表接收参数:
ac=list
t=类别ID
pg=页码
wd=搜索关键字
h=⼏⼩时内的数据
内容数据格式:
{"code":1,"msg":"数据列表","page":1,"pagecount":1,"limit":"20","total":1,"list":[{"vod_id":21,"vod_name":"情剑","type_id":6,"type_name":"动作⽚","vod_en":"qingjian","vod_time":"2018-03-29 20:50:19","vod_remarks":"超
清","vod_play_from":"youku","vod_pic":"https:\/\/img1.doubanio\/view\/photo\/s_ratio_poster\/public\/p2259384068.jpg","vo 陆","vod_lang":"国语","vod_year":"2018","vod_serial":"0","vod_actor":"谢霆锋,钟欣潼,乔振宇,伊能静,谭耀⽂,赵鸿飞,周
莉","vod_director":"陈咏歌","vod_content":"
⼀位⼿执名剑“长光”的年轻剑客(谢霆锋 饰)只为完成师⽗⽣前的遗愿——到古代中原留下的九⼤旷世名剑,从北⽅蓬莱来到中原。⽽此
前早已归顺朝廷的⼭东武林盟主、青萍剑客⽩三空(计春华 饰)利⽤与年轻剑客的⽐武诈死,成为朝廷埋藏在武林中的⿊⼿。⽩三空的外孙⽅
宝⽟(乔振宇 饰)从⼩被外公禁⽌接触武功,然⽽为了替外公报仇,为了武林的正义,跟随“天下第⼀剑”紫⾐候(谭耀⽂ 饰)学武,誓要杀死
蓬莱剑客。⽣命攸关的时刻,蓬莱剑客结识了黄河狂侠王巅之⼥珠⼉(钟欣潼 饰),并且渐⽣情愫,⽅宝⽟与紫⾐候养⼥奔⽉(杨蕊 饰)两⼈也
爱得难舍难分。青⽊堡少堡主⽊郎神君(赵鸿飞 饰)的朝廷锦⾐卫⾝份终于暴露,朝廷意欲借武林中⼈控制武林,寻罗雅古城宝藏的⽬的彻
底呈现出来。
  ⼀场武林浩劫正在上演,每⼀个⼈的⽴场都真相⼤⽩。在纷争中发现对⽅竟是同母异⽗亲兄亲的蓬莱剑客和宝⽟决定联⼿对付⽊郎神
君,然⽽⽊郎神君已经炼成了混元神功,就在那千钧⼀发时刻,⽊郎神君死在了⼼爱的⼥⼈——脱尘郡主(伊能静 饰)的剑下,纷争也随之结
束……
","vod_play_url":"正⽚$http:\/\/v.youku\/v_show\/id_XMTM0NTczNDExMg==.html"}]}
内容接收参数:
参数 ids=数据ID,多个ID逗号分割。
t=类型ID
pg=页码
h=⼏⼩时内的数据

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。