虾皮shopee根据ID取商品详情 API

2024-03-14 21:12
文章标签 api 商品 id 详情 shopee 虾皮

本文主要是介绍虾皮shopee根据ID取商品详情 API,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

公共参数

名称类型必须描述
keyString免费申请调用key(必须以GET方式拼接在URL中)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本

请求参数

请求参数:num_iid=264070136/5637247041&country=.com.my

参数说明:num_iid:商品ID-country:网站后缀(.com.my;.vn;.ph)

返回展示:

{"item": {"num_iid": "5637247041","title": "Fashionable plus size women's dress 2020 new spring and summer dress was thin and thin and fat sister dress two-piece suit","price": 34.85,"orginal_price": 0,"num": 17903,"detail_url": "https://shopee.com.my/jewellery-emas-cop-916-gold-bracelet-elet-gold-bracelet-gelang-tangan-bracelets-charms-cute-bracelet-emas-korea-i.264070136.5637247041?","pic_url": "https://cf.shopee.com.my/file/f8bc1116ea922e5ed87a492390b1cc1a","brand": null,"desc": "Brand: Other/Other\nStyle: Sweet and Fresh/College\nPopular elements: buttons, gauze, stitching\nStyle: skirt suit\nsleeve length: short sleeve\nFabric/Material: Other/Polyester (Polyester Fiber)\nIngredient content: 71% (inclusive)-80% (inclusive)\nWhether to add cashmere: no cashmere\nTime to market: Spring 2020\nDelivery time:\nShipped on the same day before subscripting at 18:00 every day,\nIt is estimated that it will take 4-10 days for normal goods to arrive at your hands\n\nMasa penghantaran\nDihantar pada hari yang sama sebelum pukul 18:00 setiap hari\nDihantar keesokan harinya selepas jam 18:00.\nDianggarkan memerlukan masa 4-10 hari untuk barang biasa sampai tangan anda\n\nPakaian wanita bersaiz plus bergaya.Pakaian musim bunga dan musim panas dalam 2020 yang baru\nkurus dan gemuk itu berpakaian yg dua keping<img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.65f13c78ecf52&p=1778786534&k=i_key&t=1710308479\" style=\"display:none\" />","skus": {"sku": [{"price": 41.89,"orginal_price": 0,"properties": "1:5","properties_name": "1:5:T-shirt:4XL【建议82.5-90kg】","quantity": 998,"sku_id": 19329148697},{"price": 41.89,"orginal_price": 0,"properties": "1:3","properties_name": "1:3:T-shirt:2XL 【建议65-72.5kg】","quantity": 999,"sku_id": 19329148695},{"price": 34.85,"orginal_price": 0,"properties": "2:2","properties_name": "2:2:skirt:XL 【建议57.5-65kg】","quantity": 996,"sku_id": 19329148700},{"price": 69.7,"orginal_price": 0,"properties": "0:3","properties_name": "0:3:T-shirt+skirt:2XL 【建议65-72.5kg】","quantity": 989,"sku_id": 19329148689},{"price": 41.89,"orginal_price": 0,"properties": "1:2","properties_name": "1:2:T-shirt:XL 【建议57.5-65kg】","quantity": 1000,"sku_id": 19329148694},{"price": 69.7,"orginal_price": 0,"properties": "0:1","properties_name": "0:1:T-shirt+skirt:L 建议 【50-57.5kg】","quantity": 982,"sku_id": 19329148687},{"price": 34.85,"orginal_price": 0,"properties": "2:5","properties_name": "2:5:skirt:4XL【建议82.5-90kg】","quantity": 997,"sku_id": 19329148703},{"price": 69.7,"orginal_price": 0,"properties": "0:2","properties_name": "0:2:T-shirt+skirt:XL 【建议57.5-65kg】","quantity": 992,"sku_id": 19329148688},{"price": 41.89,"orginal_price": 0,"properties": "1:1","properties_name": "1:1:T-shirt:L 建议 【50-57.5kg】","quantity": 999,"sku_id": 19329148693},{"price": 69.7,"orginal_price": 0,"properties": "0:0","properties_name": "0:0:T-shirt+skirt:M 建议【42.5-50KG】","quantity": 982,"sku_id": 19329148686},{"price": 34.85,"orginal_price": 0,"properties": "2:3","properties_name": "2:3:skirt:2XL 【建议65-72.5kg】","quantity": 998,"sku_id": 19329148701},{"price": 34.85,"orginal_price": 0,"properties": "2:0","properties_name": "2:0:skirt:M 建议【42.5-50KG】","quantity": 1000,"sku_id": 19329148698},{"price": 41.89,"orginal_price": 0,"properties": "1:4","properties_name": "1:4:T-shirt:3XL 【建议72.5-82.5kg】","quantity": 998,"sku_id": 19329148696},{"price": 69.7,"orginal_price": 0,"properties": "0:4","properties_name": "0:4:T-shirt+skirt:3XL 【建议72.5-82.5kg】","quantity": 992,"sku_id": 19329148690},{"price": 41.89,"orginal_price": 0,"properties": "1:0","properties_name": "1:0:T-shirt:M 建议【42.5-50KG】","quantity": 998,"sku_id": 19329148692},{"price": 34.85,"orginal_price": 0,"properties": "2:1","properties_name": "2:1:skirt:L 建议 【50-57.5kg】","quantity": 999,"sku_id": 19329148699},{"price": 34.85,"orginal_price": 0,"properties": "2:4","properties_name": "2:4:skirt:3XL 【建议72.5-82.5kg】","quantity": 999,"sku_id": 19329148702},{"price": 69.7,"orginal_price": 0,"properties": "0:5","properties_name": "0:5:T-shirt+skirt:4XL【建议82.5-90kg】","quantity": 985,"sku_id": 19329148691}]},"has_discount": "false","item_size": ["T-shirt+skirt","T-shirt","skirt"],"cid": 100017,"categories": [{"catid": 100017,"display_name": "Women Clothes","no_sub": false,"is_default_subcat": false},{"catid": 100104,"display_name": "Dresses","no_sub": true,"is_default_subcat": false}],"currency": "MYR","sales": 341,"item_imgs": {"item_img": [{"url": "https://cf.shopee.com.my/file/f8bc1116ea922e5ed87a492390b1cc1a"},{"url": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb"},{"url": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"},{"url": "https://cf.shopee.com.my/file/35f35de0d5826c4969a42483b34d8bea"},{"url": "https://cf.shopee.com.my/file/14b7804a2a87c70fa763c518ce6ec583"},{"url": "https://cf.shopee.com.my/file/e1bc3fe36abc09c00ead17243b9825f0"},{"url": "https://cf.shopee.com.my/file/ab490d68394575366c36cee16ad0f86e"},{"url": "https://cf.shopee.com.my/file/a6148259a00b460f5e30ba04a327f9a3"},{"url": "https://cf.shopee.com.my/file/e1bc5d2bb3c010af4f688e6f22a63eca"}]},"location": "Mainland China","shop_id": 264070136,"prop_imgs": {"prop_img": [{"properties": "0:0","url": "https://cf.shopee.com.my/file/81bea46afa4113012b7330cc3c846428"},{"properties": "0:1","url": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb"},{"properties": "0:2","url": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"}]},"props_list": {"0:0": "颜色分类:T-shirt+skirt","0:1": "颜色分类:T-shirt","0:2": "颜色分类:skirt","1:0": "尺码:M 建议【42.5-50KG】","1:1": "尺码:L 建议 【50-57.5kg】","1:2": "尺码:XL 【建议57.5-65kg】","1:3": "尺码:2XL 【建议65-72.5kg】","1:4": "尺码:3XL 【建议72.5-82.5kg】","1:5": "尺码:4XL【建议82.5-90kg】"},"_ddf": "boy","props_img": {"0:0": "https://cf.shopee.com.my/file/81bea46afa4113012b7330cc3c846428","0:1": "https://cf.shopee.com.my/file/c0d49dfae84b81468269a17714742adb","0:2": "https://cf.shopee.com.my/file/f4dd56edbe0ccc13ca2cba0d6ba5167a"},"format_check": "ok","desc_img": [],"shop_item": [],"relate_items": []},

这篇关于虾皮shopee根据ID取商品详情 API的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/809740

相关文章

SpringBoot监控API请求耗时的6中解决解决方案

《SpringBoot监控API请求耗时的6中解决解决方案》本文介绍SpringBoot中记录API请求耗时的6种方案,包括手动埋点、AOP切面、拦截器、Filter、事件监听、Micrometer+... 目录1. 简介2.实战案例2.1 手动记录2.2 自定义AOP记录2.3 拦截器技术2.4 使用Fi

python生成随机唯一id的几种实现方法

《python生成随机唯一id的几种实现方法》在Python中生成随机唯一ID有多种方法,根据不同的需求场景可以选择最适合的方案,文中通过示例代码介绍的非常详细,需要的朋友们下面随着小编来一起学习学习... 目录方法 1:使用 UUID 模块(推荐)方法 2:使用 Secrets 模块(安全敏感场景)方法

mybatis执行insert返回id实现详解

《mybatis执行insert返回id实现详解》MyBatis插入操作默认返回受影响行数,需通过useGeneratedKeys+keyProperty或selectKey获取主键ID,确保主键为自... 目录 两种方式获取自增 ID:1. ​​useGeneratedKeys+keyProperty(推

Knife4j+Axios+Redis前后端分离架构下的 API 管理与会话方案(最新推荐)

《Knife4j+Axios+Redis前后端分离架构下的API管理与会话方案(最新推荐)》本文主要介绍了Swagger与Knife4j的配置要点、前后端对接方法以及分布式Session实现原理,... 目录一、Swagger 与 Knife4j 的深度理解及配置要点Knife4j 配置关键要点1.Spri

HTML5 getUserMedia API网页录音实现指南示例小结

《HTML5getUserMediaAPI网页录音实现指南示例小结》本教程将指导你如何利用这一API,结合WebAudioAPI,实现网页录音功能,从获取音频流到处理和保存录音,整个过程将逐步... 目录1. html5 getUserMedia API简介1.1 API概念与历史1.2 功能与优势1.3

Springboot3+将ID转为JSON字符串的详细配置方案

《Springboot3+将ID转为JSON字符串的详细配置方案》:本文主要介绍纯后端实现Long/BigIntegerID转为JSON字符串的详细配置方案,s基于SpringBoot3+和Spr... 目录1. 添加依赖2. 全局 Jackson 配置3. 精准控制(可选)4. OpenAPI (Spri

MySQL查看表的最后一个ID的常见方法

《MySQL查看表的最后一个ID的常见方法》在使用MySQL数据库时,我们经常会遇到需要查看表中最后一个id值的场景,无论是为了调试、数据分析还是其他用途,了解如何快速获取最后一个id都是非常实用的技... 目录背景介绍方法一:使用MAX()函数示例代码解释适用场景方法二:按id降序排序并取第一条示例代码解

使用Python实现调用API获取图片存储到本地的方法

《使用Python实现调用API获取图片存储到本地的方法》开发一个自动化工具,用于从JSON数据源中提取图像ID,通过调用指定API获取未经压缩的原始图像文件,并确保下载结果与Postman等工具直接... 目录使用python实现调用API获取图片存储到本地1、项目概述2、核心功能3、环境准备4、代码实现

无法启动此程序因为计算机丢失api-ms-win-core-path-l1-1-0.dll修复方案

《无法启动此程序因为计算机丢失api-ms-win-core-path-l1-1-0.dll修复方案》:本文主要介绍了无法启动此程序,详细内容请阅读本文,希望能对你有所帮助... 在计算机使用过程中,我们经常会遇到一些错误提示,其中之一就是"api-ms-win-core-path-l1-1-0.dll丢失

使用雪花算法产生id导致前端精度缺失问题解决方案

《使用雪花算法产生id导致前端精度缺失问题解决方案》雪花算法由Twitter提出,设计目的是生成唯一的、递增的ID,下面:本文主要介绍使用雪花算法产生id导致前端精度缺失问题的解决方案,文中通过代... 目录一、问题根源二、解决方案1. 全局配置Jackson序列化规则2. 实体类必须使用Long封装类3.