获取电影,电视剧,综艺等类型的热门排名视频
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query | RankingVideoQuery | 可选 | 接口条件对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | {} | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); YunosTvsearchRankingGetRequest req = new YunosTvsearchRankingGetRequest(); YunosTvsearchRankingGetRequest.RankingVideoQuery obj1 = new YunosTvsearchRankingGetRequest.RankingVideoQuery(); obj1.setPageName( "home" ); obj1.setPackageName( "com.yunos.tv.homeshell" ); obj1.setSystemInfo( "{\"device_sn\":\"7EE7125248BB4662\",\"device_model\":\"MagicBox2\",\"device_system_version\":\"3.0.3\",\"charge_type\":\"2,3,5\",\"bcp\":\"1\",\"area_code\":\"\",\"device_media\":\"dts,dolby,drm,h265_720p\",\"uuid\":\"7EE7125248BB46622D6C27F53BB0DA95\",\"from\":\"0,4,5,6,7\",\"device_firmware_version\":\"3.0.3-D-20150922.1534\",\"sw\":\"sw1080\",\"version_code\":2100302010}" ); obj1.setPackageInfo( "{\"com.moretv.android\":\"403021000\",\"com.iflytek.aichang.tv\":\"1167677984\",\"com.panda.stb\":\"2145344702\",\"com.yunos.tv.yingshi.boutique\":\"1807858364\",\"cn.ljwl.bn.dvb\":\"431700165\",\"com.skyworthdigital.stb.app\":\"1465076221\",\"com.yunos.tv.appstore\":\"2123148606\",\"com.yunos.tv.videochat\":\"674037304\",\"cn.ccdt.dvbplayer\":\"1037634139\",\"com.um.dvb\":\"757187321\",\"com.yinhe.hunan.dtv\":\"985977772\",\"com.yunos.tbsdk\":\"1233741395\",\"com.cibn.yktv\":\"40874909\",\"com.yunos.tvtaobao\":\"1152075576\",\"com.multak.LoudSpeakerKaraoke\":\"1702427516\",\"com.yunos.tv.homeshell\":\"1321960044\",\"com.ali.tv.gamecenter\":\"211607779\",\"com.audiocn.kalaok.tv.haier.amlogict866\":\"620106974\",\"com.xiami.tv\":\"1627674729\"}" ); obj1.setLocaleInfo( "{\"language\":\"zh\",\"country\":\"CN\"}" ); obj1.setVersion( "2100101000" ); obj1.setLimit(20L); req.setQuery(obj1); YunosTvsearchRankingGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | < yunos_tvsearch_ranking_get_response > < result > < list > < model > < sort >1</ sort > < source >VIDEO_ALL_HOT</ source > < title >热门影视</ title > < type >VIDEO</ type > < total >15</ total > < cur_page >1</ cur_page > < page_size >20</ page_size > < total_page >1</ total_page > < has_next >false</ has_next > < list > < data > < id >121739</ id > < title >变形金刚:领袖之证第1季</ title > < pic_url >http://galitv.alicdn.com/product/20161027/attachment/video/program/2016/1027/dn/942609af7e892941abc9dcfd30c40fcc.jpg</ pic_url > < match_word >变形金刚</ match_word > < match_slot >title</ match_slot > < introduction >文字</ introduction > < pic_bg >http://galitv.alicdn.com/product/20161027/attachment/video/program/2016/1027/dn/942609af7e892941abc9dcfd30c40fcc.jpg</ pic_bg > < birthday >1976-02-02</ birthday > < die_day >1976-02-02</ die_day > < gender >0</ gender > < alias_name >韩琦</ alias_name > < en_name >hanqi</ en_name > < area >香港</ area > < job >歌手</ job > < nation >汉族</ nation > < homeplace >浙江杭州</ homeplace > < keyword >变形金刚</ keyword > < weight >1</ weight > < scm >adasdfqe23421</ scm > < package_name >com.yunos.tvtaobao</ package_name > < score >8.1</ score > < label >最新</ label > < download_times >212323</ download_times > < label_type >0</ label_type > < label_name >独播</ label_name > < tips >26集全</ tips > < show_type >3</ show_type > < singer >刘德华</ singer > < pic_url_horizontal ></ pic_url_horizontal > < sub_title ></ sub_title > < genre ></ genre > < casts ></ casts > < crews ></ crews > < year ></ year > < program_type ></ program_type > < description ></ description > < show_total_vv >123412</ show_total_vv > < show_id ></ show_id > < shaoer >1</ shaoer > </ data > </ list > </ model > </ list > </ result > </ yunos_tvsearch_ranking_get_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|