TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
SimbaInsightCatsworddataGetRequest req = new SimbaInsightCatsworddataGetRequest();
req.setCatId("50014579");
req.setBidwordList("l连衣裙");
req.setStartDate("2000-01-01");
req.setEndDate("2000-01-01");
SimbaInsightCatsworddataGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
SimbaInsightCatsworddataGetRequest req = new SimbaInsightCatsworddataGetRequest();
req.CatId = "50014579";
req.BidwordList = "l连衣裙";
req.StartDate = "2000-01-01";
req.EndDate = "2000-01-01";
SimbaInsightCatsworddataGetResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new SimbaInsightCatsworddataGetRequest;
$req->setCatId("50014579");
$req->setBidwordList("l连衣裙");
$req->setStartDate("2000-01-01");
$req->setEndDate("2000-01-01");
$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=taobao.simba.insight.catsworddata.get' \
-d 'partner_id=apidoc' \
-d 'sign=6439F303F2E92A4DA592E9C3272865EC' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-04-27+22%3A58%3A32' \
-d 'v=2.0' \
-d 'bidword_list=l%E8%BF%9E%E8%A1%A3%E8%A3%99' \
-d 'cat_id=50014579' \
-d 'end_date=2000-01-01' \
-d 'start_date=2000-01-01'
# -*- coding: utf-8 -*-
import top.api
req=top.api.SimbaInsightCatsworddataGetRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.cat_id="50014579"
req.bidword_list="l连衣裙"
req.start_date="2000-01-01"
req.end_date="2000-01-01"
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,"taobao.simba.insight.catsworddata.get");
add_param(pRequest,"cat_id","50014579");
add_param(pRequest,"bidword_list","l连衣裙");
add_param(pRequest,"start_date","2000-01-01");
add_param(pRequest,"end_date","2000-01-01");
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('taobao.simba.insight.catsworddata.get', {
'cat_id':'50014579',
'bidword_list':'l连衣裙',
'start_date':'2000-01-01',
'end_date':'2000-01-01'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})