首页 > 其他分享 >淘宝详情api(商品主图,商品描述)返回值说明

淘宝详情api(商品主图,商品描述)返回值说明

时间:2022-12-31 10:03:02浏览次数:61  
标签:2596264565 img imgextra 主图 jpg api alicdn 返回值 com


公共参数

​测试key​

名称

类型

必须

描述

key

String


调用key(必须以GET方式拼接在URL中)

secret

String


调用密钥

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版本






{
"item": {
"num_iid": "520813250866",
"title": "三刃木折叠刀创意迷你钥匙扣钥匙刀户外随身多功能锋利开箱小刀",
"desc_short": "",
"price": 22.7,
"total_price": "",
"suggestive_price": "",
"orginal_price": 25.8,
"nick": "欢乐购客栈",
"num": 2,
"detail_url": "https://item.taobao.com/item.htm?id=520813250866",
"pic_url": "https://img.alicdn.com/imgextra/i3/2596264565/O1CN01L8HLol1jaonor67d8_!!2596264565.jpg",
"brand": null,
"brandId": "",
"rootCatId": "",
"cid": 50014822,
"desc": "<p><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2596264565/TB2nAHqgyC9MuFjSZFoXXbUzFXa_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i3/2596264565/TB2ahCelVXXXXc_XXXXXXXXXXXX_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i4/2596264565/O1CN01wp8a2f1jaomde1XlL_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/2596264565/TB2sGR3lVXXXXblXpXXXXXXXXXX_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/2596264565/TB2ZBGxlVXXXXXMXXXXXXXXXXXX_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i1/2596264565/TB2MjWklVXXXXcaXXXXXXXXXXXX_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2596264565/TB2UgV3lVXXXXbdXpXXXXXXXXXX_!!2596264565.jpg\" /><img align=\"absmiddle\" src=\"http://img.alicdn.com/imgextra/i2/2596264565/TB2ip5XlVXXXXX2XpXXXXXXXXXX_!!2596264565.jpg\" /></p><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.63af939acec82&p=1778787633&k=i_key&t=1672450971\" style=\"display:none\" />",
"item_imgs": [
{
"url": "https://img.alicdn.com/imgextra/i3/2596264565/O1CN01L8HLol1jaonor67d8_!!2596264565.jpg"
},
{
"url": "https://img.alicdn.com/imgextra/i1/2596264565/O1CN01jcuVBb1jaomeRuMkL_!!0-item_pic.jpg"
},
{
"url": "https://img.alicdn.com/imgextra/i3/2596264565/O1CN01T1p7hu1jaomklDXvC_!!0-item_pic.jpg"
},
{
"url": "https://img.alicdn.com/imgextra/i4/2596264565/O1CN01xbHROv1jaomde2Ldu_!!0-item_pic.jpg"
},
{
"url": "https://img.alicdn.com/imgextra/i3/2596264565/O1CN018BhMpU1jaomhACP0K_!!0-item_pic.jpg"
}
],
"item_weight": "",
"post_fee": 0,
"freight": "",
"express_fee": "",
"ems_fee": "",
"shipping_to": "",
"video": [],
"sample_id": "",
"props_name": "1627207:12227458263:颜色分类:长方形带开瓶器+送卡片刀+钢圈;1627207:12227458264:颜色分类:椭圆形带开瓶器+送卡片刀+钢圈;1627207:12227458265:颜色分类:GJ018X钥匙刀+送卡片刀+钢圈",
"prop_imgs": {
"prop_img": [
{
"properties": "1627207:12227458263",
"url": "http://img.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"
},
{
"properties": "1627207:12227458264",
"url": "http://img.alicdn.com/imgextra/i4/2596264565/TB2dTrjdVXXXXXBXpXXXXXXXXXX_!!2596264565.jpg"
},
{
"properties": "1627207:12227458265",
"url": "http://img.alicdn.com/imgextra/i2/2596264565/TB2j22kdVXXXXXdXpXXXXXXXXXX_!!2596264565.jpg"
}
]
},
"props_imgs": {
"prop_img": [
{
"properties": "1627207:12227458263",
"url": "http://img.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg"
},
{
"properties": "1627207:12227458264",
"url": "http://img.alicdn.com/imgextra/i4/2596264565/TB2dTrjdVXXXXXBXpXXXXXXXXXX_!!2596264565.jpg"
},
{
"properties": "1627207:12227458265",
"url": "http://img.alicdn.com/imgextra/i2/2596264565/TB2j22kdVXXXXXdXpXXXXXXXXXX_!!2596264565.jpg"
}
]
},
"property_alias": "",
"props": [
{
"name": "品牌",
"value": "三刃木"
},
{
"name": "产地",
"value": "中国"
},
{
"name": "颜色分类",
"value": "长方形带开瓶器+送卡片刀+钢圈 椭圆形带开瓶器+送卡片刀+钢圈 GJ018X钥匙刀+送卡片刀+钢圈"
},
{
"name": "重量",
"value": "26g(含)-50g(含)"
},
{
"name": "吊牌价",
"value": "46"
},
{
"name": "功能数量",
"value": "5个及以下"
},
{
"name": "展开长度",
"value": "10cm以下"
},
{
"name": "货号",
"value": "GJ019C"
},
{
"name": "附加功能",
"value": "刀 开瓶器 螺丝刀 钥匙圈 其他/other"
},
{
"name": "运动户外项目",
"value": "露营"
}
],
"total_sold": "0",
"skus": {
"sku": [
{
"price": 37,
"total_price": 0,
"orginal_price": 39,
"properties": "1627207:12227458263",
"properties_name": "1627207:12227458263:颜色分类:长方形带开瓶器+送卡片刀+钢圈",
"quantity": 2,
"sku_id": "3166598625985"
},
{
"price": 37,
"total_price": 0,
"orginal_price": 39,
"properties": "1627207:12227458264",
"properties_name": "1627207:12227458264:颜色分类:椭圆形带开瓶器+送卡片刀+钢圈",
"quantity": 2,
"sku_id": "3166598625984"
},
{
"price": 22.7,
"total_price": 0,
"orginal_price": 25.8,
"properties": "1627207:12227458265",
"properties_name": "1627207:12227458265:颜色分类:GJ018X钥匙刀+送卡片刀+钢圈",
"quantity": 2,
"sku_id": "3144644292458"
}
]
},
"seller_id": "2596264565",
"sales": 0,
"shop_id": "127203758",
"props_list": {
"1627207:12227458263": "颜色分类:长方形带开瓶器+送卡片刀+钢圈",
"1627207:12227458264": "颜色分类:椭圆形带开瓶器+送卡片刀+钢圈",
"1627207:12227458265": "颜色分类:GJ018X钥匙刀+送卡片刀+钢圈"
},
"seller_info": {
"nick": "欢乐购客栈",
"item_score": 4.8453,
"score_p": 4.85635,
"delivery_score": 4.87845,
"shop_type": "",
"user_num_id": "2596264565",
"sid": "127203758",
"title": "",
"zhuy": "https://shop127203758.taobao.com",
"cert": null,
"open_time": "7年老店",
"credit_score": "tb-rank-cap:2",
"shop_name": "欢乐购客栈"
},
"tmall": true,
"error": "",
"location": "广东深圳",
"data_from": "Ha",
"has_discount": "true",
"is_promotion": "true",
"promo_type": null,
"props_img": {
"1627207:12227458263": "http://img.alicdn.com/imgextra/i3/2596264565/TB2.XeblVXXXXXkXpXXXXXXXXXX_!!2596264565.jpg",
"1627207:12227458264": "http://img.alicdn.com/imgextra/i4/2596264565/TB2dTrjdVXXXXXBXpXXXXXXXXXX_!!2596264565.jpg",
"1627207:12227458265": "http://img.alicdn.com/imgextra/i2/2596264565/TB2j22kdVXXXXXdXpXXXXXXXXXX_!!2596264565.jpg"
},
"format_check": "ok",
"desc_img": [
"http://img.alicdn.com/imgextra/i2/2596264565/TB2nAHqgyC9MuFjSZFoXXbUzFXa_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i3/2596264565/TB2ahCelVXXXXc_XXXXXXXXXXXX_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i4/2596264565/O1CN01wp8a2f1jaomde1XlL_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i1/2596264565/TB2sGR3lVXXXXblXpXXXXXXXXXX_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i1/2596264565/TB2ZBGxlVXXXXXMXXXXXXXXXXXX_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i1/2596264565/TB2MjWklVXXXXcaXXXXXXXXXXXX_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i2/2596264565/TB2UgV3lVXXXXbdXpXXXXXXXXXX_!!2596264565.jpg",
"http://img.alicdn.com/imgextra/i2/2596264565/TB2ip5XlVXXXXX2XpXXXXXXXXXX_!!2596264565.jpg"
],
"shop_item": [],
"relate_items": []
},
"error": "",
"secache": "d8bd20b8f0d9df02dd030dd374110240",
"secache_time": 1672450971,
"secache_date": "2022-12-31 09:42:51",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:37 max:10100 all[64=37+7+20];expires:2030-12-31",
"execution_time": "1.219",
"server_time": "Beijing/2022-12-31 09:42:51",
"client_ip": "106.6.37.49",
"call_args": {
"num_iid": "520813250866",
"is_promotion": "1"
},
"api_type": "taobao",
"translate_language": "zh-CN",
"translate_engine": "baidu",
"server_memory": "6MB",
"request_id": "gw-1.63af939acec82",
"last_id": "1447470337"
}


















标签:2596264565,img,imgextra,主图,jpg,api,alicdn,返回值,com
From: https://blog.51cto.com/u_15886519/5981895

相关文章

  • python创建config.xml文件,调用Jenkins API接口创建带参数的Job
    文章目录​​一、要求​​​​二、pipeline模板xml的内容可以通过如下方式获取​​​​三、代码​​​​四、效果​​​​五、参考文章​​一、要求将hudson.model.StringPa......
  • web应用模式 api接口 接口测试工具postman restful规范
    目录web应用模式前后端混合开发前后端分离开发api接口接口测试工具postmanrestful规范(重要)简介主要内容练习web应用模式#前后端混合开发 -bbs项目,页面渲染是在后台完成......
  • Gitea 1.18.0 | API、表单、PR、LaTeX、代码搜索、Email、包管理等18项重大更新如约而
    经过数月的开发,我们自豪地推出了正式版的Gitea1.18.0。新的系统整合了日积月累的535个PR,包含修复补丁以及功能更改,我们建议管理员升级系统前创建快照、备份数据,确保切换......
  • fastapi
    fastapiFastAPI是一个用于构建API的现代、快速(高性能)的web框架,使用Python3.6+并基于标准的Python类型提示。关键特性:快速:可与NodeJS和Go比肩的极高性......
  • c++返回值不能是右值对象
    右值测试结论返回值不能为右值对象,外面接的人,会那倒一个析构的对象使用。效率最高的,返回值对象通过引用传入,在函数里面赋值。代码#include<iostream>#include<io......
  • Appium的触屏操作&设备交互api
    Appium的触屏操作TouchAction---Appium2.0以上不在可以使用官网地址:https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/touch-actions.md......
  • .net6 webApi IoC SqlSugar的日常使用
    .Net6WebApi使用SqlSugar1、Nuget先引入:SqlSugarCore2、NetIOC1、注入ISqlSugarClient.NET自带的IOC使用也很方便 先封装一个操作类  //建一个扩展类publ......
  • Spire.Doc API 可以在下载啦!
    近期,我们会将E-iceblue公司发布的系列产品帮助文档API陆续提交到.今天我们提交的是Spire.DocAPI.先来看看Spire.Doc产品的API样式图:Spire.DocAPI详细罗列了Spire.Doc......
  • net core(.net 6) 配置API接口返回支持所有编码
      builder.Services.AddControllers().AddJsonOptions(options=>{options.JsonSerializerOptions.Encoder=JavaScriptEncoder.Create(UnicodeRanges.All);/......
  • 从webApi调用存储过程引发的一连串思考
    业务场景是这样的,要编写一个webapi程序,去调用存储过程。项目使用EFcore,我右键点击EFcore工具,再选择反向工程,自动生成了调用存储过程的方法,如果存储过程有返回值,还会自动生......