当前位置:网站首页>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: []
}
]
}边栏推荐
- LOGO special training camp section I identification logo and Logo Design Ideas
- A large number of virtual anchors in station B were collectively forced to refund: revenue evaporated, but they still owe station B; Jobs was posthumously awarded the U.S. presidential medal of freedo
- 如何实现轻松管理1500万员工?
- 国产数据库乱象
- Tiktok actual combat ~ the number of comments is updated synchronously
- Alibaba launched a new brand "Lingyang" and is committed to becoming a "digital leader"
- Domestic database chaos
- Breakpoint debugging under vs2019 c release
- 【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
- 醒悟的日子,我是怎么一步一步走向软件测试的道路
猜你喜欢

Concurrent optimization summary

How to transfer to software testing, one of the high paying jobs in the Internet? (software testing learning roadmap attached)

Kdd2022 | what features are effective for interaction?

Éducation à la transmission du savoir | Comment passer à un test logiciel pour l'un des postes les mieux rémunérés sur Internet? (joindre la Feuille de route pour l'apprentissage des tests logiciels)

Naacl-22 | introduce the setting of migration learning on the prompt based text generation task

Domestic database chaos

SPSS installation and activation tutorial (including network disk link)

LOGO特训营 第二节 文字与图形的搭配关系

UML图记忆技巧

LOGO特訓營 第三節 首字母創意手法
随机推荐
Concurrent network modular reading notes transfer
力扣_回文数
Apachecn translation, proofreading, note sorting activity progress announcement 2022.7
安装人大金仓数据库
特征缩放 标准化 归一化
The Sandbox 和数字好莱坞达成合作,通过人力资源开发加速创作者经济的发展
MD5 tool class
华泰证券是国家认可的券商吗?开户安不安全?
Play with grpc - go deep into concepts and principles
[the 2023 autumn recruitment of MIHA tour] open [the only exclusive internal push code of school recruitment eytuc]
leetcode 72. Edit distance edit distance (medium)
Google Earth Engine(GEE)——基于 MCD64A1 的 GlobFire 日常火灾数据集
BigFilter全局交易防重组件的介绍与应用
【OpenGL】笔记二十九、抗锯齿(MSAA)
POM in idea XML dependency cannot be imported
【lua】int64的支持
PostgreSQLSQL高级技巧透视表
odps 中 对表进行了一次备份,为什么在元数据库查m_table 时,两张表的逻辑大小不一致,但数
Google Earth Engine(GEE)——以MODIS/006/MCD19A2为例批量下载逐天AOD数据逐天的均值、最大值、最小值、标准差、方差统计分析和CSV下载(北京市各区为例)
LOGO特训营 第五节 字体结构与设计常用技法