当前位置:网站首页>Taobao commodity review API interface (item_review get Taobao commodity review API interface), tmall commodity review API interface
Taobao commodity review API interface (item_review get Taobao commodity review API interface), tmall commodity review API interface
2022-07-04 22:37:00 【wx_ one billion five hundred and ninety-seven million sixty-thr】
Taobao commodity evaluation api Interface (item_review- Get Taobao product reviews API Interface ), Tmall Product Review API The interface can be through products id, Get product evaluation information 、 Evaluation content 、 Buyers show pictures 、 Comment views 、 Evaluation video 、 The data on the evaluation and follow-up page can be obtained , The interface connection is as follows :
1. Common parameters
name | type | must | describe |
---|---|---|---|
key | String | yes | call key( Must be GET Way of splicing in URL in , Click to get the test key and secret) |
secret | String | yes | Call key |
api_name | String | yes | API The name of the interface ( Included in the request address )[item_search,item_get,item_search_shop etc. ] |
cache | String | no | [yes,no] Default yes, The cached data... Will be called , It's quite fast |
result_type | String | no | [json,jsonu,xml,serialize,var_export] Return data format , The default is json,jsonu The output content can be read directly in Chinese |
lang | String | no | [cn,en,ru] Translation language , Default cn Simplified Chinese |
version | String | no | API edition |
2. Request parameters
Request parameters :num_iid=600530677643&data=&page=1
Parameter description :num_iid: Taobao products ID
sort: Sort 0: Default sort ,1: Latest sort
3. Response parameter
name | type | must | Example value | describe |
---|---|---|---|---|
rate_content | String | 0 | The fabric of the clothes is very good It's comfortable to wear The clothes are very suitable ! | Comment content |
rate_date | Date | 0 | 2019-03-16 12:10:24 | Comment date |
pics | MIX | 0 | ["//img.alicdn.com/bao/uploaded/i4/O1CN01Zmq4QI1dqwnpBIxmX_!!0-rate.jpg"] | Comment on the picture |
display_user_nick | String | 0 | Li ***0 | Buyer's nickname |
auction_sku | String | 0 | Color : white ( Plush ); Size :2XL | Comment on product attributes |
add_feedback | String | 0 | The fabric of the clothes is very good It's comfortable to wear The clothes are very suitable ! | Review the content |
add_feedback_images | MIX | 0 | ["//img.alicdn.com/bao/uploaded/i4/O1CN01Zmq4QI1dqwnpBIxmX_!!0-rate.jpg"] | Review pictures |
video | String | 0 | http://cloud.video.taobao.com/play/u/416a306c576e44524a75367539493165745863466b513d3d/p/1/d/sd/e/6/t/1/288913501300.mp4 | Video address |
videoCover | String | 0 | https://img.alicdn.com/imgextra/i3/O1CN01cvjYjY28SRpqyDJIN_!!0-tbbala.jpg | Video capture |
4. Request example (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
# Request example url The default request parameters have been changed URL code
url = "https://vx19970108018/taobao/item_review/?key=< Your own apiKey>&secret=< Your own apiSecret>&num_iid=600530677643&data=&page=1"
headers = {
"Accept-Encoding": "gzip",
"Connection": "close"
}
if __name__ == "__main__":
r = requests.get(url, headers=headers)
json_obj = r.json()
print(json_obj)
5. Response example
{
code: 200,
msg: " The request is successful 【success】",
total_results: "53",
data: [
{
feedback: " This user did not fill in the evaluation .",
feedbackDate: "2021-03-14",
reply: "",
userNick: "g**0",
skuId: "4754825839147",
skuMap: {
Color classification : " Standard management system "
},
feedPicList: null,
readCount: "0",
video: [],
appendedFeed: []
},
{
feedback: " Customer service , Monarch , Seriously , Solve problems in time ! severe , Next time I'll find Junjun . One year warranty , It's worth having !?️??️??️??️???️???️??????????????????????????????????????????????????????????????????????????????????",
feedbackDate: "2021-03-14",
reply: " Your appreciation is valued by us , Keep every word in mind . Your affirmation makes our persistence meaningful , We will continue to uphold the user-oriented service concept , Constantly improve our smart card products and services , Let you have a better product experience . Your satisfaction is our unswerving pursuit !",
userNick: " easy **6",
skuId: "4754825839147",
skuMap: {
Color classification : " Standard management system "
},
feedPicList: [
"//img.alicdn.com/imgextra/i3/0/O1CN01R4yTy21CAouF3TyCo_!!0-rate.jpg"
],
readCount: "1",
video: [],
appendedFeed: []
}
]
}
边栏推荐
- Sqlserver encrypts and decrypts data
- The proofreading activity of data science on the command line second edition was restarted
- In Linux, I call odspcmd to query the database information. How to output silently is to only output values. Don't do this
- Force buckle 2_ 1480. Dynamic sum of one-dimensional array
- Test will: bug classification and promotion solution
- Domestic database chaos
- Concurrent optimization summary
- UML diagram memory skills
- Logo special training camp Section IV importance of font design
- Unity修仙手游 | lua动态滑动功能(3种源码具体实现)
猜你喜欢
卷积神经网络模型之——LeNet网络结构与代码实现
将QA引入软件开发生命周期是工程师要遵循的最佳实践
Nat. Commun.| Machine learning jointly optimizes the affinity and specificity of mutagenic therapeutic antibodies
UML图记忆技巧
2022-07-04:以下go语言代码输出什么?A:true;B:false;C:编译错误。 package main import “fmt“ func main() { fmt.Pri
MYSQL架构——逻辑架构
Why is Dameng data called the "first share" of domestic databases?
Scala download and configuration
堆排序代码详解
PMO: compare the sample efficiency of 25 molecular optimization methods
随机推荐
醒悟的日子,我是怎么一步一步走向软件测试的道路
NFT Insider #64:电商巨头eBay提交NFT相关商标申请,毕马威将在Web3和元宇宙中投入3000万美元
Mysql root 账号如何重置密码
Easy to use app recommendation: scan QR code, scan barcode and view history
将QA引入软件开发生命周期是工程师要遵循的最佳实践
测试必会:BUG的分类及推进解决
Logo special training camp section II collocation relationship between words and graphics
Postgresqlql advanced skills pivot table
idea中pom.xml依赖无法导入
Test will: bug classification and promotion solution
Use blocconsumer to build responsive components and monitor status at the same time
Locust performance test - environment construction and use
LOGO特训营 第四节 字体设计的重要性
Unity-VScode-Emmylua配置报错解决
Redis的持久化机制
Play with grpc - go deep into concepts and principles
关于栈区、堆区、全局区、文字常量区、程序代码区
More than 30 institutions jointly launched the digital collection industry initiative. How will it move forward in the future?
Radio and television Wuzhou signed a cooperation agreement with Huawei to jointly promote the sustainable development of shengteng AI industry
10 schemes to ensure interface data security