京東獲得店鋪的所有商品API介面(item_search_shop-獲得店鋪的所有商
京東獲得店鋪的所有商品API介面(item_search_shop-獲得店鋪的所有商品)介面展示說明及教程:
公共引數
名稱 型別 必須 描述
key String 是 呼叫key(必須以GET方式拼接在URL中)
secret String 是 呼叫金鑰(介面v=PNG_WNMN)
api_name String 是 API介面名稱(包括在請求地址中)[item_search,item_get,item_search_shop等]
cache String 否 [yes,no]預設yes,將呼叫快取的資料,速度比較快
result_type String 否 [json,jsonu,xml,serialize,var_export]返回資料格式,預設為json,jsonu輸出的內容中文可以直接閱讀
lang String 否 [cn,en,ru]翻譯語言,預設cn簡體中文
version String 否 API版本
請求引數
請求引數:seller_nick=皓頓HAUTTON京東自營旗艦店&start_price=0&end_price=0&q=&page=1&cid=
引數說明:seller_nick:店鋪暱稱
start_price:開始價格
end_price:結束價格
q:搜尋關鍵字
page:頁數
cid:分類ID
響應引數
名稱 型別 是否隱私 示例值 描述
items item[] 獲得店鋪的所有商品
num_iid Bigint 10021415166448 寶貝ID
detail_url String 商品詳情頁
title String 俞兆林2件裝半高領打底衫秋冬長袖洋氣純色內衣內搭上衣黑色薄款女士秋衣女春秋保暖內衣女針織衫 黑色+淺卡其(80-130斤) 商品標題
pic_url String //img13.360buyimg.com/n7/jfs/t1/115150/13/17438/307259/5f58be2fE727cfb0d/aa76563060a56420.png 寶貝圖片
price Float 188 價格
promotion_price Float 188 優惠價
sales Int 銷量
sample_id Bigint 商品風格標識ID
post_fee Float 物流費用
seller String 俞兆林YZL旗艦店
賣家暱
稱
//using System.Net.Security;
//using System.Security.Cryptography.X509Certificates;
private const String method = "GET";
static void Main(string[] args)
{
String bodys = "";
// 請求示例 url 預設請求引數已經做URL編碼
String url = "您自己的apiKey>&secret=<您自己的apiSecret>&seller_nick=皓頓HAUTTON京東自營旗艦店&start_price=0&end_price=0&q=&page=1&cid=";
HttpWebRequest httpRequest = null;
HttpWebResponse httpResponse = null;
if (url.Contains("))
{
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
}
else
{
httpRequest = (HttpWebRequest)WebRequest.Create(url);
}
httpRequest.Method = method;
if (0 < bodys.Length)
{
byte[] data = Encoding.UTF8.GetBytes(bodys);
using (Stream stream = httpRequest.GetRequestStream())
{
stream.Write(data, 0, data.Length);
}
}
try
{
httpResponse = (HttpWebResponse)httpRequest.GetResponse();
}
catch (WebException ex)
{
httpResponse = (HttpWebResponse)ex.Response;
}
Console.WriteLine(httpResponse.StatusCode);
Console.WriteLine(httpResponse.Method);
Console.WriteLine(httpResponse.Headers);
Stream st = httpResponse.GetResponseStream();
StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8"));
Console.WriteLine(reader.ReadToEnd());
Console.WriteLine("\n");
}
public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
{
return true;
}
響應示例
{
"user": {
"id": "",
"nick": "皓頓HAUTTON京東自營旗艦店",
"city": "",
"state": "",
"good_num": "",
"level": "",
"score": "",
"total_num": "",
"created": "",
"shop_type": "B",
"user_num_id": 1000081830,
"cid": "",
"pic_url": "",
"delivery_score": "",
"item_score": "",
"sid": "",
"title": "",
"phone": "",
"zhuy": "//mall.jd.com/index-1000081830.html?from=pc",
"score_p": "",
"company_name": ""
},
"items": {
"item": [
{
"num_iid": "100006965163",
"detail_url": "
"title": "皓頓休閒鞋男鞋頭層牛皮時尚潮牌運動小白鞋百搭板鞋子男 9301XB148 白色 38碼",
"pic_url": "//img13.360buyimg.com/n7/jfs/t1/153961/17/1801/305679/5f813073E03c570f7/8d5a59f610675771.jpg",
"price": 368,
"promotion_price": 368,
"sales": null,
"sample_id": "",
"post_fee": "",
"seller": "皓頓HAUTTON京東自營旗艦店"
},
{
"num_iid": "100008260461",
"detail_url": "
"title": "皓頓HAUT TON 休閒鞋男鞋頭層牛皮高幫時尚潮牌運動小白鞋百搭板鞋靴子男 9393XB540 白色 39碼",
"pic_url": "//img11.360buyimg.com/n7/jfs/t1/131902/17/11990/270074/5f813353E3ad47052/9d15482c3a553659.jpg",
"price": 398,
"promotion_price": 398,
"sales": null,
"sample_id": "",
"post_fee": "",
"seller": "皓頓HAUTTON京東自營旗艦店"
},
{
"num_iid": "100006965175",
"detail_url": "
"title": "皓頓休閒鞋男鞋頭層牛皮時尚潮牌運動小白鞋百搭板鞋子男 9301XB148 白色 41碼",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/129151/18/14410/305679/5f813097E2b67ae38/594356ed51abb69c.jpg",
"price": 368,
"promotion_price": 368,
"sales": null,
"sample_id": "",
"post_fee": "",
"seller": "皓頓HAUTTON京東自營旗艦店"
},
{
"num_iid": "100014803052",
"detail_url": "
"title": "皓頓HAUT TON 休閒鞋男鞋頭層牛皮高幫時尚潮牌運動小白鞋百搭板鞋靴子男 9394GB411 白色 41碼",
"pic_url": "//img12.360buyimg.com/n7/jfs/t1/128350/32/14720/262542/5f813012E457e96c4/bdf4fc8345082f34.jpg",
"price": 398,
"promotion_price": 398,
"sales": null,
"sample_id": "",
"post_fee": "",
"seller": "皓頓HAUTTON京東自營旗艦店"
},
{
"num_iid": "100012921200",
"detail_url": "
"title": "皓頓HAUT TON 休閒鞋男鞋頭層牛皮韓版時尚潮牌運動小白鞋百搭板鞋子男 9303XB030 白色 39碼",
"pic_url": "//img10.360buyimg.com/n7/jfs/t1/152705/30/1828/298006/5f812e75Ee03a3a12/3abde62340b8d3f6.jpg",
"price": 368,
"promotion_price": 368,
"sales": null,
"sample_id": "",
"post_fee": "",
"seller": "皓頓HAUTTON京東自營旗艦店"
}
],
"total_results": "5",
"page_size": "60",
"pagecount": 1,
"page": "",
"url": "皓頓HAUTTON京東自營旗艦店&enc=utf-8&wq=皓頓HAUTTON京東自營旗艦店&pvid=33dbb420d9fa4ca483a869f2e4c5625c"
},
"error": "",
"secache": "e0f8552465a91326c012ad26414763d9",
"secache_time": 1615538585,
"secache_date": "2021-03-12 16:43:05",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:11 max:10000",
"execution_time": 3.413,
"server_time": "Beijing/2021-03-12 16:43:06",
"client_ip": "106.6.36.174",
"call_args": [
"100006965163"
],
"api_type": "jd",
"translate_language": "zh-CN",
"translate_engine": "google_cn",
"server_memory": "3.16MB",
"request_id": "gw-3.604b299752ee5"
}
更多介面教程可私信溝通交流。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70028219/viewspace-2944126/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 京東獲得店鋪的所有商品 APIAPI
- 淘寶API分享:獲得店鋪的所有商品 APIAPI
- 透過1688店鋪所有商品API介面一鍵獲取店鋪所有商品資訊API
- 1688API介面分享:獲得店鋪的所有商品 API 返回值說明API
- 淘寶API,獲取店鋪的所有商品API
- 如何使用1688店鋪所有商品API介面API
- tb店鋪所有商品資料介面
- 如何簡單快捷批次獲取店鋪的所有商品?
- 呼叫 API 介面獲取淘寶店鋪所有商品:詳細指南與程式碼實踐API
- 呼叫API介面獲取淘寶店鋪所有商品:詳細指南與程式碼實踐API
- 探索1688店鋪所有商品API介面:一鍵獲取海量資料,開啟商業智慧新篇章API
- 揭秘淘寶店鋪所有商品介面:一鍵獲取海量熱銷寶貝資訊
- 電商API分享:京東獲得JD商品詳情API
- 蝦皮shopee獲得shopee店鋪詳情 API 返回值說明API
- 1688店鋪所有商品介面(1688.item_search_shop)程式碼封裝教程封裝
- 淘寶天貓店鋪所有商品資料採集介面程式碼展示
- 京東獲得JD商品詳情 API 返回值說明API
- 京東獲得jd商品分類API介面(父分類、根分類、子分類)API
- 如何看拼多多同行店鋪的店擊率?店鋪點選率如何提升?
- 新版愛採購的店鋪星、店鋪分的詳細說明GWJ
- 獲得某個類的所有宣告的欄位
- 拼多多店鋪排名不靠前?商家該如何提升店鋪排名?
- 淘寶/天貓API分享:搜尋店鋪列表 API介面呼叫示例API
- 1688商品列表介面,關鍵詞搜尋1688商品介面,1688店鋪商品介面封裝程式碼教程封裝
- 怎麼快速獲得天貓旗艦店的商品連結地址,支援自動提取
- 如何獲得淘寶/天貓淘寶商品詳情 API介面API
- 速賣通API介面解析,實現獲得aliexpress商品詳情APIExpress
- 如何採集地圖上的店鋪把店鋪電話匯出到手機電腦excel地圖Excel
- 有做過店鋪裝修的沒?
- 共享店鋪股東系統開發軟體搭建
- 京東商品詳情介面,京東商品優惠券介面,京東商品分析資料介面,京東API介面封裝程式碼API封裝
- 共享店鋪門店系統開發軟體流程
- 拼多多商家如何開店?如何經營好店鋪?
- Python爬蟲-獲得某一連結下的所有超連結Python爬蟲
- 淘寶高仿包店鋪名字
- LazadaAPI介面解析,實現獲得lazada商品評論列表API
- 獲得JD商品評論 API 如何實現實時資料獲取API
- 實體門店微信店鋪小程式怎麼做?