【在线快结】淘宝API取商品信息
string url = "http://gw.api.taobao.com/router/rest";
string appkey = "12356675";
string appsecret = "1f6ce2ada04658f638b2aa8e8dfc5049 v";
ITopClient client = new DefaultTopClient(url, appkey, appsecret);
ItemGetRequest req = new ItemGetRequest();
req.Fields = "detail_url,num_iid,title,nick,type,cid,seller_cids,props,input_pids,input_str,desc,pic_url,num,valid_thru,list_time,delist_time,stuff_status,location,price,post_fee,express_fee,ems_fee,has_discount,freight_payer,has_invoice,has_warranty,has_showcase,modified,increment,approve_status,postage_id,product_id,auction_point,property_alias,item_img,prop_img,sku,video,outer_id,is_virtual";
req.NumIid = 10821960412L;
ItemGetResponse response = client.Execute(req);
Response.Write(response.Item.Title.ToString());
想取出相关产品信息 得不到 请指点 是不是什么地方错了?
谢谢 在线等……
------解决方案--------------------
Response.Write(response.body);
希望一起学习啊 我也刚用.NET和淘宝API......