当前位置:网站首页>唯品会商品详情API接口(item_get-获得唯品会商品详情接口),唯品会详情API接口
唯品会商品详情API接口(item_get-获得唯品会商品详情接口),唯品会详情API接口
2022-06-29 21:05:00 【wx_1597063760】
一、唯品会商品详情API接口(item_get-获得唯品会商品详情接口),唯品会详情API接口可以获取到商品价格,商品库存,商品销量,商品ID,商品图片,商品sku属性,sku详情,sku图片,商品图片,商家昵称,属性图片,商家发货地等数据,页面上的数据均可以获取到,接口可应用于数据分析,代购商城建站,erp系统商品数据选品,价格监控,品牌维权,商家搬货,店铺铺货,商家工具,人工智能等业务,希望能够帮助到有需要的朋友,接口代码对接如下:
1.公共参数
| 名称 | 类型 | 必须 | 描述 |
|---|---|---|---|
| key | String | 是 | 调用key(必须以GET方式拼接在URL中,点击获取测试key和secret) |
| 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版本 |
2.请求参数
请求参数:num_iid=1710613157-6918711233889249157
参数说明:num_iid:店铺ID-商品ID
3.响应参数



4.请求示例(CURL、PHP 、PHPsdk 、Java 、C# 、Python...)
# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://vx19970108018/vip/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=1710613157-6918711233889249157"
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)边栏推荐
- Enter the year and month to find the total number of days in the month
- What is unique about MES system?
- Digital password lock Verilog design + simulation + on board verification
- leetcode:307. Area and retrieval - array modifiable
- Topic39——78. 子集
- How to call RFC function of ABAP on premises system directly in SAP BTP ABAP programming environment
- 如何从外表判断导电滑环的质量
- "Xiaodeng" in operation and maintenance monitors user login operations in real time
- Navigation [microcomputer principle]
- Exit operation in project
猜你喜欢

期末复习【微机原理】

如何从外表判断导电滑环的质量

Alibaba cloud released the atlas of China's robot industry (2022), 122 Pages pdf

导航 实验【微机原理】【实验】

yolov6训练自己的数据记录+yolov5对比测试

"Xiaodeng" active directory batch user creation in operation and maintenance

一颗新的北极星已经升起!

报表交付工程师
![[advanced ROS chapter] Lecture 4: duplicate names in ROS (nodes, topics and parameters)](/img/25/85e8c55605f5cc999a8e85f0a05f93.jpg)
[advanced ROS chapter] Lecture 4: duplicate names in ROS (nodes, topics and parameters)

Recruit | DBA Data Engineer every week with an annual salary of 35+. Dream of Kyushu and bright stars!
随机推荐
透过华为军团看科技之变(五):智慧园区
Basic qualities of management personnel
【ROS进阶篇】第四讲 ROS中的重名问题(节点、话题与参数)
HAproxy + Keepalive实现LDAP代理服务
Win10 sets automatic dial-up networking task to realize automatic reconnection after startup and disconnection
A new Polaris has risen!
Clock tree synthesis (CTS)
Storage principle of string
Stm32cubemx learning (6) external interrupt experiment
Application of VoIP push in overseas audio and video services
直播预告 | PostgreSQL 内核解读系列第一讲:PostgreSQL 系统概述
String字符串的存储原理
跳转打开新窗口
Explain PBR texture maps
Shutter bottomnavigationbar with page switching example
Information system project manager -- Chapter VII examination questions of project cost management over the years
知识蒸馏(Knowledge Distilling)学习笔记
tmux设置
时钟树综合(CTS)
推荐书籍--白夜行