Example #1
0
 /// <summary>
 /// TOP API: taobao.taobaoke.items.detail.get
 /// </summary>
 public PageList<TaobaokeItemDetail> TaobaokeItemsDetailGet(TaobaokeItemsDetailGetRequest request, string session)
 {
     return client.Execute(request, new ListXmlParser<TaobaokeItemDetail>(new ParseData(request.GetApiName(), "taobaoke_item_details", "taobaoke_item_detail")), session);
 }
Example #2
0
 /// <summary>
 /// 获取淘宝客商品详细信息组(仅商记使用,且numiids数量不得大于10)
 /// </summary>
 public static List<TaobaokeItemDetail> GetTaoBaoKeItemListDetail(string numiids)
 {
     TaobaokeItemsDetailGetRequest ttg = new TaobaokeItemsDetailGetRequest();
     ttg.Fields = "iid,num_iid,title,nick,type,cid,desc,pic_url,num,location,price,score,volume,click_url,shop_click_url,seller_credit_score,valid_thru";
     ttg.NumIids = numiids;
     ttg.Nick = SAS_USERNICK;
     try
     {
         PageList<TaobaokeItemDetail> pagetd = client.TaobaokeItemsDetailGet(ttg);
         if (pagetd.Content.Count == 0) return null;
         return pagetd.Content;
     }
     catch
     {
         return null;
     }
 }