TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YunosTvpubadminContentShowGetlistRequest req = new YunosTvpubadminContentShowGetlistRequest();
req.setExtType(1L);
req.setGmtEnd("2017-3-24 00:00:00");
req.setLicenseState(2L);
req.setPageSize(20L);
req.setShowId("idQshoi");
req.setExtVideoStrId("rqqfaq");
req.setDateType(1L);
req.setCategory(1L);
req.setShowName("三生三世");
req.setPageNo(1L);
req.setGmtStart("2016-3-24 00:00:00");
req.setLicense(1L);
req.setVideoTitleLike("三生三世");
req.setVmacLongId(123L);
YunosTvpubadminContentShowGetlistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
YunosTvpubadminContentShowGetlistRequest req = new YunosTvpubadminContentShowGetlistRequest();
req.ExtType = 1L;
req.GmtEnd = "2017-3-24 00:00:00";
req.LicenseState = 2L;
req.PageSize = 20L;
req.ShowId = "idQshoi";
req.ExtVideoStrId = "rqqfaq";
req.DateType = 1L;
req.Category = 1L;
req.ShowName = "三生三世";
req.PageNo = 1L;
req.GmtStart = "2016-3-24 00:00:00";
req.License = 1L;
req.VideoTitleLike = "三生三世";
req.VmacLongId = 123L;
YunosTvpubadminContentShowGetlistResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new YunosTvpubadminContentShowGetlistRequest;
$req->setExtType("1");
$req->setGmtEnd("2017-3-24 00:00:00");
$req->setLicenseState("2");
$req->setPageSize("20");
$req->setShowId("idQshoi");
$req->setExtVideoStrId("rqqfaq");
$req->setDateType("1");
$req->setCategory("1");
$req->setShowName("三生三世");
$req->setPageNo("1");
$req->setGmtStart("2016-3-24 00:00:00");
$req->setLicense("1");
$req->setVideoTitleLike("三生三世");
$req->setVmacLongId("123");
$resp = $c->execute($req);
curl -X POST 'http://gw.api.taobao.com/router/rest' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
-d 'app_key=12129701' \
-d 'format=json' \
-d 'method=yunos.tvpubadmin.content.show.getlist' \
-d 'partner_id=apidoc' \
-d 'sign=DF5E038509AC861C477ABD43229935E8' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-18+18%3A42%3A42' \
-d 'v=2.0' \
-d 'category=1' \
-d 'date_type=1' \
-d 'ext_type=1' \
-d 'ext_video_str_id=rqqfaq' \
-d 'gmt_end=2017-3-24+00%3A00%3A00' \
-d 'gmt_start=2016-3-24+00%3A00%3A00' \
-d 'license=1' \
-d 'license_state=2' \
-d 'page_no=1' \
-d 'page_size=20' \
-d 'show_id=idQshoi' \
-d 'show_name=%E4%B8%89%E7%94%9F%E4%B8%89%E4%B8%96' \
-d 'video_title_like=%E4%B8%89%E7%94%9F%E4%B8%89%E4%B8%96' \
-d 'vmac_long_id=123'
# -*- coding: utf-8 -*-
import top.api
req=top.api.YunosTvpubadminContentShowGetlistRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.ext_type=1
req.gmt_end="2017-3-24 00:00:00"
req.license_state=2
req.page_size=20
req.show_id="idQshoi"
req.ext_video_str_id="rqqfaq"
req.date_type=1
req.category=1
req.show_name="三生三世"
req.page_no=1
req.gmt_start="2016-3-24 00:00:00"
req.license=1
req.video_title_like="三生三世"
req.vmac_long_id=123
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"yunos.tvpubadmin.content.show.getlist");
add_param(pRequest,"ext_type","1");
add_param(pRequest,"gmt_end","2017-3-24 00:00:00");
add_param(pRequest,"license_state","2");
add_param(pRequest,"page_size","20");
add_param(pRequest,"show_id","idQshoi");
add_param(pRequest,"ext_video_str_id","rqqfaq");
add_param(pRequest,"date_type","1");
add_param(pRequest,"category","1");
add_param(pRequest,"show_name","三生三世");
add_param(pRequest,"page_no","1");
add_param(pRequest,"gmt_start","2016-3-24 00:00:00");
add_param(pRequest,"license","1");
add_param(pRequest,"video_title_like","三生三世");
add_param(pRequest,"vmac_long_id","123");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('yunos.tvpubadmin.content.show.getlist', {
'ext_type':'1',
'gmt_end':'2017-3-24 00:00:00',
'license_state':'2',
'page_size':'20',
'show_id':'idQshoi',
'ext_video_str_id':'rqqfaq',
'date_type':'1',
'category':'1',
'show_name':'三生三世',
'page_no':'1',
'gmt_start':'2016-3-24 00:00:00',
'license':'1',
'video_title_like':'三生三世',
'vmac_long_id':'123'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})