虾皮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

相关文章

使用Go调用第三方API的方法详解

《使用Go调用第三方API的方法详解》在现代应用开发中,调用第三方API是非常常见的场景,比如获取天气预报、翻译文本、发送短信等,Go作为一门高效并发的编程语言,拥有强大的标准库和丰富的第三方库,可以... 目录引言一、准备工作二、案例1:调用天气查询 API1. 注册并获取 API Key2. 代码实现3

PHP应用中处理限流和API节流的最佳实践

《PHP应用中处理限流和API节流的最佳实践》限流和API节流对于确保Web应用程序的可靠性、安全性和可扩展性至关重要,本文将详细介绍PHP应用中处理限流和API节流的最佳实践,下面就来和小编一起学习... 目录限流的重要性在 php 中实施限流的最佳实践使用集中式存储进行状态管理(如 Redis)采用滑动

Three.js构建一个 3D 商品展示空间完整实战项目

《Three.js构建一个3D商品展示空间完整实战项目》Three.js是一个强大的JavaScript库,专用于在Web浏览器中创建3D图形,:本文主要介绍Three.js构建一个3D商品展... 目录引言项目核心技术1. 项目架构与资源组织2. 多模型切换、交互热点绑定3. 移动端适配与帧率优化4. 可

Go语言使用net/http构建一个RESTful API的示例代码

《Go语言使用net/http构建一个RESTfulAPI的示例代码》Go的标准库net/http提供了构建Web服务所需的强大功能,虽然众多第三方框架(如Gin、Echo)已经封装了很多功能,但... 目录引言一、什么是 RESTful API?二、实战目标:用户信息管理 API三、代码实现1. 用户数据

Python用Flask封装API及调用详解

《Python用Flask封装API及调用详解》本文介绍Flask的优势(轻量、灵活、易扩展),对比GET/POST表单/JSON请求方式,涵盖错误处理、开发建议及生产环境部署注意事项... 目录一、Flask的优势一、基础设置二、GET请求方式服务端代码客户端调用三、POST表单方式服务端代码客户端调用四

SQLServer中生成雪花ID(Snowflake ID)的实现方法

《SQLServer中生成雪花ID(SnowflakeID)的实现方法》:本文主要介绍在SQLServer中生成雪花ID(SnowflakeID)的实现方法,文中通过示例代码介绍的非常详细,... 目录前言认识雪花ID雪花ID的核心特点雪花ID的结构(64位)雪花ID的优势雪花ID的局限性雪花ID的应用场景

SpringBoot结合Knife4j进行API分组授权管理配置详解

《SpringBoot结合Knife4j进行API分组授权管理配置详解》在现代的微服务架构中,API文档和授权管理是不可或缺的一部分,本文将介绍如何在SpringBoot应用中集成Knife4j,并进... 目录环境准备配置 Swagger配置 Swagger OpenAPI自定义 Swagger UI 底

使用Python的requests库调用API接口的详细步骤

《使用Python的requests库调用API接口的详细步骤》使用Python的requests库调用API接口是开发中最常用的方式之一,它简化了HTTP请求的处理流程,以下是详细步骤和实战示例,涵... 目录一、准备工作:安装 requests 库二、基本调用流程(以 RESTful API 为例)1.

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 模块(安全敏感场景)方法