掌握苏宁API,一键获取商品详情,解锁无尽商业可能

苏宁的API接口可以用于获取商品详情。以下是一个示例的API接口,通过商品ID获取商品详情:

https://open.suning.com/api/content/product/getById?productId=商品ID&appKey=你的应用密钥&sign=你的签名&format=json

在上面的接口中,你需要替换以下参数:

  • 商品ID:你要获取商品详情的商品ID。
  • 你的应用密钥:你在苏宁开放平台申请的应用密钥。
  • 你的签名:根据苏宁API接口的签名规则进行计算。

点击获取key和secret

苏宁易购获得suning商品详情 API 返回值说明

请求参数

请求参数:num_iid=0070134261/703410301

参数说明:num_iid:店铺ID/商品ID


---------------------------------------
{
	"item": {
		"num_iid": "0070134261/703410301",
		"title": "罗技(Logitech M235 无线光电鼠标2代 升级优联技术台式笔记本电脑无线办公省电鼠标 (灰色",
		"desc_short": "",
		"price": "79.00",
		"total_price": "",
		"suggestive_price": "",
		"orginal_price": "79.00",
		"nick": "罗技外设旗舰店",
		"num": 99,
		"min_num": "",
		"detail_url": "https://product.suning.com/0070134261/703410301.html",
		"pic_url": " //image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_1.jpg",
		"brand": "",
		"brandId": "",
		"rootCatId": "",
		"cid": "",
		"crumbs": {
			"157250": "鼠标"
		},
		"created_time": "",
		"modified_time": "",
		"delist_time": "",
		"desc": "<\"div> <\"img src=\"https://image.suning.cn/uimg/sop/commodity/180469403026839773750900_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/829807810124167623648200_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/186865161514348058123327_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/131542364233716381943090_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/763953680205707567428220_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/414487999203006843787490_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/861748885456060517999000_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/953397344178553966030960_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/210232585971362766796270_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/101179711710153822981808_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/199857039911322248487598_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/957732684206097424622610_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/181933260774892681354540_x.jpg\"></div>, <\"div> <\"img src=\"http://image.suning.cn/uimg/sop/commodity/213219414110141579504563_x.jpg\"></div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.65570f44ba2ba&p=1778788102&k=i_key&t=1700204364\" style=\"display:none\" />",
		"desc_img": [],
		"item_imgs": [
			{
				"url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_1.jpg"
			},
			{
				"url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_2.jpg"
			},
			{
				"url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_3.jpg"
			},
			{
				"url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_4.jpg"
			},
			{
				"url": "//image.suning.cn/uimg/b2c/newcatentries/0070134261-000000000703410301_5.jpg"
			}
		],
		"item_weight": "",
		"item_size": "",
		"location": "",
		"post_fee": "",
		"express_fee": "",
		"ems_fee": "",
		"shipping_to": "",
		"has_discount": "",
		"video": "",
		"is_virtual": "",
		"sample_id": "",
		"is_promotion": "",
		"props_name": "0:0:颜色:罗技M650L白色;0:1:颜色:罗技M650L白色;0:2:颜色:罗技M650L白色;0:3:颜色:罗技M650L白色;0:4:颜色:罗技M650L白色;0:5:颜色:罗技M650L白色;0:6:颜色:罗技M650L白色;0:7:颜色:罗技M650L白色;0:8:颜色:罗技M650L白色;0:9:颜色:罗技M650L白色;0:10:颜色:罗技M650L白色;0:11:颜色:罗技M650L白色;0:12:颜色:罗技M650L白色;0:13:颜色:罗技M650L白色;0:14:颜色:罗技M650L白色;0:15:颜色:罗技M650L白色;0:16:颜色:罗技M650L白色;0:17:颜色:罗技M650L白色;0:18:颜色:罗技M650L白色;0:19:颜色:罗技M650L白色",
		"prop_imgs": "",
		"property_alias": "0:0:罗技M650L白色;0:1:罗技M650L白色;0:2:罗技M650L白色;0:3:罗技M650L白色;0:4:罗技M650L白色;0:5:罗技M650L白色;0:6:罗技M650L白色;0:7:罗技M650L白色;0:8:罗技M650L白色;0:9:罗技M650L白色;0:10:罗技M650L白色;0:11:罗技M650L白色;0:12:罗技M650L白色;0:13:罗技M650L白色;0:14:罗技M650L白色;0:15:罗技M650L白色;0:16:罗技M650L白色;0:17:罗技M650L白色;0:18:罗技M650L白色;0:19:罗技M650L白色",
		"props": [
			{
				"name": "品牌",
				"value": "罗技(Logitech"
			},
			{
				"name": "鼠标产品类型",
				"value": "办公鼠标,蓝牙鼠标"
			},
			{
				"name": "产品型号",
				"value": "罗技M235"
			},
			{
				"name": "颜色",
				"value": "灰色"
			},
			{
				"name": "适用类型",
				"value": "笔记本便携,办公"
			},
			{
				"name": "供电模式",
				"value": "五号电池"
			},
			{
				"name": "鼠标接口",
				"value": "USB"
			},
			{
				"name": "工作方式",
				"value": "光电"
			},
			{
				"name": "人体工学",
				"value": "是"
			},
			{
				"name": "按键数",
				"value": "2"
			}
		],
		"total_sold": "",
		"skus": {
			"sku": [
				{
					"price": "45.00",
					"orginal_price": "45.00",
					"properties": "0:0",
					"properties_name": "0:0:颜色:罗技M650L白色",
					"sku_id": "000000010535842005"
				},
				{
					"price": "45.00",
					"orginal_price": "45.00",
					"properties": "0:1",
					"properties_name": "0:1:颜色:罗技M650L白色",
					"sku_id": "000000010535855478"
				},
				{
					"price": "45.00",
					"orginal_price": "45.00",
					"properties": "0:2",
					"properties_name": "0:2:颜色:罗技M650L白色",
					"sku_id": "000000010535847232"
				},
				{
					"price": "45.00",
					"orginal_price": "45.00",
					"properties": "0:3",
					"properties_name": "0:3:颜色:罗技M650L白色",
					"sku_id": "000000000702044852"
				},
				{
					"price": "45.00",
					"orginal_price": "45.00",
					"properties": "0:4",
					"properties_name": "0:4:颜色:罗技M650L白色",
					"sku_id": "000000000702054145"
				},
				{
					"price": "45.00",
					"orginal_price": "45.00",
					"properties": "0:5",
					"properties_name": "0:5:颜色:罗技M650L白色",
					"sku_id": "000000000702050066"
				},
				{
					"price": "52.00",
					"orginal_price": "52.00",
					"properties": "0:6",
					"properties_name": "0:6:颜色:罗技M650L白色",
					"sku_id": "000000000702296951"
				},
				{
					"price": "52.00",
					"orginal_price": "52.00",
					"properties": "0:7",
					"properties_name": "0:7:颜色:罗技M650L白色",
					"sku_id": "000000000702300333"
				},
				{
					"price": "52.00",
					"orginal_price": "52.00",
					"properties": "0:8",
					"properties_name": "0:8:颜色:罗技M650L白色",
					"sku_id": "000000000702301626"
				},
				{
					"price": "79.00",
					"orginal_price": "79.00",
					"properties": "0:9",
					"properties_name": "0:9:颜色:罗技M650L白色",
					"sku_id": "000000000703410301"
				},
				{
					"price": "72.00",
					"orginal_price": "72.00",
					"properties": "0:10",
					"properties_name": "0:10:颜色:罗技M650L白色",
					"sku_id": "000000000702191572"
				},
				{
					"price": "69.00",
					"orginal_price": "69.00",
					"properties": "0:11",
					"properties_name": "0:11:颜色:罗技M650L白色",
					"sku_id": "000000000702205116"
				},
				{
					"price": "72.00",
					"orginal_price": "72.00",
					"properties": "0:12",
					"properties_name": "0:12:颜色:罗技M650L白色",
					"sku_id": "000000000702208226"
				},
				{
					"price": "72.00",
					"orginal_price": "72.00",
					"properties": "0:13",
					"properties_name": "0:13:颜色:罗技M650L白色",
					"sku_id": "000000000702210716"
				},
				{
					"price": "",
					"orginal_price": "",
					"properties": "0:14",
					"properties_name": "0:14:颜色:罗技M650L白色",
					"sku_id": "000000000105021656"
				},
				{
					"price": "209.00",
					"orginal_price": "209.00",
					"properties": "0:15",
					"properties_name": "0:15:颜色:罗技M650L白色",
					"sku_id": "000000012356492176"
				},
				{
					"price": "209.00",
					"orginal_price": "209.00",
					"properties": "0:16",
					"properties_name": "0:16:颜色:罗技M650L白色",
					"sku_id": "000000012356492094"
				},
				{
					"price": "209.00",
					"orginal_price": "209.00",
					"properties": "0:17",
					"properties_name": "0:17:颜色:罗技M650L白色",
					"sku_id": "000000012356492144"
				},
				{
					"price": "209.00",
					"orginal_price": "209.00",
					"properties": "0:18",
					"properties_name": "0:18:颜色:罗技M650L白色",
					"sku_id": "000000012356492259"
				},
				{
					"price": "209.00",
					"orginal_price": "209.00",
					"properties": "0:19",
					"properties_name": "0:19:颜色:罗技M650L白色",
					"sku_id": "000000012356492215"
				}
			]
		},
		"seller_id": "",
		"sales": 0,
		"shop_id": "70134261",
		"props_list": {
			"0:0": "颜色:罗技M650L白色",
			"0:1": "颜色:罗技M650L白色",
			"0:2": "颜色:罗技M650L白色",
			"0:3": "颜色:罗技M650L白色",
			"0:4": "颜色:罗技M650L白色",
			"0:5": "颜色:罗技M650L白色",
			"0:6": "颜色:罗技M650L白色",
			"0:7": "颜色:罗技M650L白色",
			"0:8": "颜色:罗技M650L白色",
			"0:9": "颜色:罗技M650L白色",
			"0:10": "颜色:罗技M650L白色",
			"0:11": "颜色:罗技M650L白色",
			"0:12": "颜色:罗技M650L白色",
			"0:13": "颜色:罗技M650L白色",
			"0:14": "颜色:罗技M650L白色",
			"0:15": "颜色:罗技M650L白色",
			"0:16": "颜色:罗技M650L白色",
			"0:17": "颜色:罗技M650L白色",
			"0:18": "颜色:罗技M650L白色",
			"0:19": "颜色:罗技M650L白色"
		},
		"seller_info": {
			"nick": "罗技外设旗舰店",
			"city": "",
			"shopid": "70134261",
			"shopname": "罗技外设旗舰店",
			"title": "",
			"zhuy": "https://shop.suning.com/70134261/index.html",
			"tel": ""
		},
		"tmall": "",
		"warning": "",
		"url_log": "",
		"sold": "",
		"props_img": [],
		"format_check": "ok",
		"_ddf": "app",
		"shop_item": [],
		"relate_items": []
	},
	"error": "",
	"secache": "18f19fa8b522b37c105e7cfb8a9c5b9d",
	"secache_time": 1700204364,
	"secache_date": "2023-11-17 14:59:24",
	"translate_status": "error",
	"translate_time": 0.002,
	"language": {
		"current_lang": "cn",
		"source_lang": "zh-CN"
	},
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:90 max:10000 all[1231=90+159+982];expires:2030-12-31",
	"execution_time": "7.498",
	"server_time": "Beijing/2023-11-17 14:59:24",
	"client_ip": "106.6.39.6",
	"call_args": {
		"num_iid": "0070134261/703410301"
	},
	"api_type": "suning",
	"translate_language": "zh-CN",
	"translate_engine": "baidu",
	"server_memory": "3.26MB",
	"request_id": "gw-1.65570f44ba2ba",
	"last_id": "2283162722"
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/157127.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

骨传导耳机的优缺点是什么?有什么值得入手的骨传导耳机吗?

骨传导耳机的优点还是挺多的&#xff0c;比如说&#xff1a;佩戴舒适、避免听力损伤、使用更安全灯&#xff0c;在详细了解骨传导耳机有什么优点和缺点之前&#xff0c;先来认识一下什么是骨传导耳机。 骨传导耳机是一种通过人体骨骼来传递声音的耳机&#xff0c;与传统的耳机相…

SAP BW 查看DTP执行结果

SAP BW 查看DTP执行结果 1.选中DTP&#xff0c;双击打开 2.点击“数据传输流程监控器” 3.指定查询期间&#xff0c;执行 4.点击“数据管理存储对象” 5.选中执行记录行的“加载监控器” 6.点击“数据管理源” 7.预览&#xff0c;读取预览数据 8.显示数据结果

python连接elasticsearch

问题一&#xff1a;urllib3.exceptions.ProtocolError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’)) 协议写错了&#xff0c;是https 问题一&#xff1a;SSLError([SSL: CERTIFICATE_VERIFY_FAILED] certificate ver…

Linux安装OpenCV并配置VSCode环境

Linux安装OpenCV并配置VSCode环境 安装OpenCV环境安装必需工具下载并解压OpenCV库&#xff08;Opencv Core Modules和opencv_contrib&#xff09;创建构建目录&#xff0c;进行构建验证构建结果安装验证安装结果 配置VSCode环境创建项目文件修改配置信息执行程序 安装环境 Ubun…

​​​​​​​实验二 运算符和内置函数使用(Python程序设计实验报告)

实验二 运算符和内置函数使用 实验环境 Python集成开发环境IDLE/Anaconda 实验目的 1&#xff0e;熟练掌握常用运算符的使用。 2. 熟练掌握常用内置函数的使用。 三、实验内容 1. 输入三角形的3个边长a、b、c&#xff0c;求三角形的面积area。利用如下海伦公式求三角形的…

docker中怎么启动容器

1、首先在linux中使用以下命令来启动 Docker 服务&#xff1a; sudo systemctl start docker2、然后下面的命令显示所有的容器列表&#xff0c;包括正在运行和已停止的容器。 docker ps -a然后找到容器ID 3、使用 docker start 启动一个已停止的容器&#xff1a; docker s…

视频修复软件 Aiseesoft Video Repair mac中文版功能

AIseesoft Video RepAIr mac是一款专业的视频修复软件&#xff0c;主要用于修复损坏或无法播放的视频文件。AIseesoft Video RepAIr是一个功能强大的程序,可以帮助恢复丢失或损坏的数据的视频。只要您以相同的格式提供示例视频,并在功能强大的技术的支持下,只需单击几下即可收获…

开放式耳机和骨传导耳机有什么区别?哪款值得入手?

开放式耳机和骨传导耳机最大的区别就是佩戴方式不同和传声方式不同&#xff0c;相比之下骨传导耳机更值得入手一些。但其实骨传导耳机也是开放式耳机&#xff0c;下面先了解下开放式耳机都有哪几种。 一、开放式耳机分哪几种&#xff1f; 开放式耳机分为气传导和骨传导。这两种…

如何定位判断是前端的bug还是后端bug?

前言 随着开发软件趋向于大型化复杂化&#xff0c;软件测试逐渐成为一个专业&#xff0c;需要运用专门的方法和手段&#xff0c;需要专门人才来管理。但是外面的小道消息总是在传&#xff1a;软件测试就只是找bug的&#xff01;这个我可就不同意了~ 软件测试员是找bug&#x…

短信登录获取图形验证码调用过程

文章目录 短信登录获取图形验证码调用过程1、输入某个要获取短信验证的电话 短信登录获取图形验证码调用过程 1、输入某个要获取短信验证的电话 调用到skin皮肤里面的sms_login里面的xml的按钮控件: 这个按钮属于点击信息在Notify里面收到: void CSMSLoginDlg::Notify(TNotif…

自动化测试,5个技巧轻松搞定

想要在质量保证团队中赢得核心&#xff1f;当你组建你的网络应用时要记住这些技巧&#xff0c;可以变得更容易分析并快速创建更多准确可重复的自动化测试。 1.歧义是敌人 尽可能使你的代码具体化。当然&#xff0c;你已经遵循了W3C标准&#xff0c;对吗&#xff1f;以下有三件…

EtherCAT超高速实时运动控制卡XPCIE1032H上位机C#开发(二):EtherCAT总线初始化

XPCIE1032H功能简介 XPCIE1032H是一款基于PCI Express的EtherCAT总线运动控制卡&#xff0c;可选6-64轴运动控制&#xff0c;支持多路高速数字输入输出&#xff0c;可轻松实现多轴同步控制和高速数据传输。 XPCIE1032H集成了强大的运动控制功能&#xff0c;结合MotionRT7运动…

Isight 2023 新功能介绍

​​Isight是一个仿真分析流程自动化和多学科多目标优化工具&#xff0c;它提供了一个可视化的灵活的仿真流程搭建平台&#xff0c;同时提供与多种主流CAE分析工具的专用接口&#xff0c;利用此工具&#xff0c;用户可以方便的以拖拽的方式可视化的快速建立复杂的仿真分析流程&…

达芬奇DaVinci Resolve Studio 18.6.3 for Mac

DaVinci Resolve Studio 18是一款专业的视频编辑和调色软件&#xff0c;适用于电影、电视节目、广告等各种视觉媒体的制作。它具有完整的后期制作功能&#xff0c;包括剪辑、调色、特效、音频处理等。 以下是DaVinci Resolve Studio 18的主要特点&#xff1a; - 提供了全面的视…

一、认识STM32

目录 一、初识STM32 1.1 STM32的命名规则介绍 1.2 STM32F103ZET6资源配置介绍 二、如何识别芯片管脚 2.1 如何寻找 IO 的功能说明 三、构成最小系统的要素 一、初识STM32 1.1 STM32的命名规则介绍 以 STM32F103ZET6 来讲解下 STM32 的命名方法&#xff1a; &…

SpringBoot 2.x 实战仿B站高性能后端项目

SpringBoot 2.x 实战仿B站高性能后端项目 下栽の地止&#xff1a;请看文章末尾 通常SpringBoot新建项目&#xff0c;默认是集成了Maven&#xff0c;然后所有内容都在一个主模块中。 如果项目架构稍微复杂一点&#xff0c;就需要用到Maven多模块。 本文简单概述一下&#xff0c…

无线振动温度传感器设备的振动监测故障诊断

近年来&#xff0c;随着工业领域技术水平的不断提高&#xff0c;工业设备的管理水平也必须紧随其后&#xff0c;既要保证设备的正常运转&#xff0c;同时也要做好日常的保养维护工作。旋转类设备是一种较为常见的工业设备&#xff0c;随着无线振动温度传感器设备的引入&#xf…

百家网约车平台发布“阳光五条” 多举措加强司机保障

11月17日&#xff0c;免佣联盟百家网约车平台发布“阳光五条”&#xff0c;通过加大免佣力度、实行车费保镖司机版、72小时保护期等措施&#xff0c;加强对网约车司机的权益保障。 近年&#xff0c;交通运输部推动交通运输新业态平台企业落实“阳光行动”等工作&#xff0c;加…

MyCat基础入门

1. MyCat安装 去官网下载安装包&#xff1a; 下载路径&#xff1a; 官方网站&#xff1a;http://www.mycat.org.cn/ github地址https://github.com/MyCATApache 上传到服务器上并解压&#xff1a; 它解压后是一个叫mycat的文件夹 去maycat的bin目录下&#xff0c;执行命令 ./my…