TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressSocialShoppingSearchRequest req = new AliexpressSocialShoppingSearchRequest();
req.setKeyword("Dress");
req.setSort("price_asc");
req.setStart(0L);
req.setCount(20L);
req.setCategoryId(0L);
req.setMaxPrice("1000.0");
req.setMinPrice("0.0");
req.setShipFromCountry("RU");
req.setShipToCountry("RU");
req.setPriceRange("-");
req.setFreeShipping(false);
req.setBigSale(false);
req.setPopular(false);
AliexpressSocialShoppingSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
ITopClient client = new DefaultTopClient(url, appkey, secret);
AliexpressSocialShoppingSearchRequest req = new AliexpressSocialShoppingSearchRequest();
req.Keyword = "Dress";
req.Sort = "price_asc";
req.Start = 0L;
req.Count = 20L;
req.CategoryId = 0L;
req.MaxPrice = "1000.0";
req.MinPrice = "0.0";
req.ShipFromCountry = "RU";
req.ShipToCountry = "RU";
req.PriceRange = "-";
req.FreeShipping = false;
req.BigSale = false;
req.Popular = false;
AliexpressSocialShoppingSearchResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new AliexpressSocialShoppingSearchRequest;
$req->setKeyword("Dress");
$req->setSort("price_asc");
$req->setStart("0");
$req->setCount("20");
$req->setCategoryId("0");
$req->setMaxPrice("1000.0");
$req->setMinPrice("0.0");
$req->setShipFromCountry("RU");
$req->setShipToCountry("RU");
$req->setPriceRange("-");
$req->setFreeShipping("false");
$req->setBigSale("false");
$req->setPopular("false");
$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=aliexpress.social.shopping.search' \
-d 'partner_id=apidoc' \
-d 'sign=1E554E5406E85B469FB894611D634A54' \
-d 'sign_method=hmac' \
-d 'timestamp=2025-07-08+09%3A22%3A07' \
-d 'v=2.0' \
-d 'big_sale=false' \
-d 'category_id=0' \
-d 'count=20' \
-d 'free_shipping=false' \
-d 'keyword=Dress' \
-d 'max_price=1000.0' \
-d 'min_price=0.0' \
-d 'popular=false' \
-d 'price_range=-' \
-d 'ship_from_country=RU' \
-d 'ship_to_country=RU' \
-d 'sort=price_asc' \
-d 'start=0'
# -*- coding: utf-8 -*-
import top.api
req=top.api.AliexpressSocialShoppingSearchRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.keyword="Dress"
req.sort="price_asc"
req.start=0
req.count=20
req.category_id=0
req.max_price="1000.0"
req.min_price="0.0"
req.ship_from_country="RU"
req.ship_to_country="RU"
req.price_range="-"
req.free_shipping=false
req.big_sale=false
req.popular=false
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,"aliexpress.social.shopping.search");
add_param(pRequest,"keyword","Dress");
add_param(pRequest,"sort","price_asc");
add_param(pRequest,"start","0");
add_param(pRequest,"count","20");
add_param(pRequest,"category_id","0");
add_param(pRequest,"max_price","1000.0");
add_param(pRequest,"min_price","0.0");
add_param(pRequest,"ship_from_country","RU");
add_param(pRequest,"ship_to_country","RU");
add_param(pRequest,"price_range","-");
add_param(pRequest,"free_shipping","false");
add_param(pRequest,"big_sale","false");
add_param(pRequest,"popular","false");
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('aliexpress.social.shopping.search', {
'keyword':'Dress',
'sort':'price_asc',
'start':'0',
'count':'20',
'category_id':'0',
'max_price':'1000.0',
'min_price':'0.0',
'ship_from_country':'RU',
'ship_to_country':'RU',
'price_range':'-',
'free_shipping':'false',
'big_sale':'false',
'popular':'false'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})