自学内容网 自学内容网

获取淘宝商品详情app原数据item_get_app响应参数解析(二):商品标题、销量、sku、价格、视频

API名:item_get_app

功能说明:通过传入商品id获取该商品的详情页原数据。因为是原数据,响应参数较多。

请求示例(curl):
    
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-服务器.cn/taobao/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=698291711589"

  • 通用参数说明
    • 参数不要乱传,否则不管成功失败都会扣费
    • url说明 https://api-服务器.cn/平台/API类型/ 平台:淘宝,京东等, API类型:[item_search,item_get,item_search_shop等]
    • version:API版本
    • key:调用key,测试key:test_api_key
    • secret:调用secret,测试secret:(不用填写)
    • cache:[yes,no]默认yes,将调用缓存的数据,速度比较快
    • result_type:[json,xml,serialize,var_export]返回数据格式,默认为json
    • lang:[cn,en,ru] 翻译语言,默认cn简体中文
    • secret:密钥

响应示例 

title:商品标题

salesDesc:销量

"fans": 店铺粉丝

vagueSellCount:销量

price:商品价格 

videoId": 商品视频id
videoThumbnailURL:视频url

skus:商品sku信息

"skuCore": {
"sku2info": {
"0": {
"logisticsTime": "预计13小时内发货|承诺48小时内发货",
"moreQuantity": "true",
"price": {
"priceActionText": "",
"priceActionType": "buy_in_mobile",
"priceMoney": "49900",
"priceText": "499"
},
"quantity": "200",
"quantityText": "有货"
},
"4978778497420": {
"cartParam": {
"addCartCheck": "true"
},
"logisticsTime": "预计13小时内发货|承诺48小时内发货",
"moreQuantity": "false",
"price": {
"priceActionText": "",
"priceActionType": "buy_in_mobile",
"priceMoney": "49900",
"priceText": "499"
},
"quantity": "156",
"quantityText": "有货"
},
"4978778497421": {
"cartParam": {
"addCartCheck": "true"
},
"logisticsTime": "预计13小时内发货|承诺48小时内发货",
"moreQuantity": "true",
"price": {
"priceActionText": "",
"priceActionType": "buy_in_mobile",
"priceMoney": "49900",
"priceText": "499"
},
"quantity": "200",
"quantityText": "有货"
},
"4978778497422": {
"cartParam": {
"addCartCheck": "true"
},
"logisticsTime": "预计13小时内发货|承诺48小时内发货",
"moreQuantity": "false",
"price": {
"priceActionText": "",
"priceActionType": "buy_in_mobile",
"priceMoney": "49900",
"priceText": "499"
},
"quantity": "155",
"quantityText": "有货"
},
"4978778497423": {
"cartParam": {
"addCartCheck": "true"
},
"logisticsTime": "预计13小时内发货|承诺48小时内发货",
"moreQuantity": "false",
"price": {
"priceActionText": "",
"priceActionType": "buy_in_mobile",
"priceMoney": "49900",
"priceText": "499"
},
"quantity": "71",
"quantityText": "有货"
}
},

 


原文地址:https://blog.csdn.net/API_mylove/article/details/140543535

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!