淘寶商品詳情接口API(商品價(jià)格|圖文詳情|SKU)
商品詳情api獲取方式:想要獲取商品詳情都是通過調(diào)用淘寶商品詳情接口都是通過調(diào)用API來實(shí)現(xiàn)的,所有的API都是基于REST協(xié)議,可兼容多種編程語言。只要能夠按照淘寶的規(guī)范POST調(diào)用參數(shù)就可以取得相應(yīng)接口返回的數(shù)據(jù)。
調(diào)用接口淘寶商品詳情接口(API)時(shí),都通過訪問該地址,來獲取該接口需要獲取的數(shù)據(jù)正式環(huán)境:
調(diào)用接口地址:http://gjx.sd1118.com/apiMarket/info?id=26&title=Tb%E5%95%86%E5%93%81%E4%BF%A1%E6%81%AF
調(diào)用參數(shù) 調(diào)用淘寶商品詳情接口(API)時(shí),必須傳入的系統(tǒng)級參數(shù)以及應(yīng)用級參數(shù),該接口更多輸入?yún)?shù)以及返回結(jié)構(gòu)詳見API文檔,以下是部分接口代碼:
{
"data": {
"defPrice": "19.8",
"shopLogo": null,
"productId": "626758342750",
"categoryId": null,
"shopId": "63442770",
"shopName": "窩牛旗艦店",
"productTitle": "墻紙自粘臥室溫馨墻貼畫防水防潮客廳背景墻房間壁紙家用裝飾貼紙",
"productImg": "http://gw3.alicdn.com/tfscom/tuitui/i1/606955037/O1CN01jogC5K1n4zbnePyXI_!!606955037-0-lubanu-s.jpg",
"sellerId": "606955037",
"rootCategoryId": null,
"brandId": null,
"shopWw": "窩牛旗艦店",
"shopType": "B"
},
"code": 0,
"state": true,
"msg": "success"
}