【一、项目简介】
本文主要目标是采集淘宝的评价,找出客户所需要的功能。统计客户评价上面夸哪个功能多,比如防水,容量大,好看等等。
【二 ·淘宝/天猫获得淘宝商品评论 API 返回值】
item_review-获得淘宝商品评论
taobao.item_review
公共参数
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
key | String | 是 | 调用key(必须以GET方式拼接在URL中) |
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版本 |
请求参数
请求参数:num_iid=600530677643&data=&page=1
参数说明:num_iid:淘宝商品ID
sort:排序 0:默认排序 ,1: 最新排序
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
rate_content | String | 0 | 衣服面料很好 穿起来很舒服 衣服挺合适的! | 评论内容 |
rate_date | Date | 0 | 2019-03-16 12:10:24 | 评论日期 |
pics | MIX | 0 | ["//img.alicdn.com/bao/uploaded/i4/O1CN01Zmq4QI1dqwnpBIxmX_!!0-rate.jpg"] | 评论图片 |
display_user_nick | String | 0 | 李***0 | 买家昵称 |
auction_sku | String | 0 | 颜色:加绒;尺码:2XL | 评论商品属性 |
add_feedback | String | 0 | 衣服面料很好 穿起来很舒服 衣服挺合适的! | 追评内容 |
add_feedback_images | MIX | 0 | ["//img.alicdn.com/bao/uploaded/i4/O1CN01Zmq4QI1dqwnpBIxmX_!!0-rate.jpg"] | 追评图片 |
video | String | 0 | http://cloud.video.taobao.com/play/u/416a306c576e44524a75367539493165745863466b513d3d/p/1/d/sd/e/6/t/1/288913501300.mp4 | 视频地址 |
返回实例
---------------------------------------
{
"items": {
"totalpage": "500",
"total_results": "80000",
"page_size": 10,
"page": "1",
"item": [
{
"rate_content": "此用户没有填写文本。",
"rate_date": "2024-09-02",
"pics": [],
"display_user_nick": "匿名买家",
"auction_sku": "颜色分类:【热销单品】Air3星黛粉冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248542064429",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "物流速度非常快,机器好用又好看,还脱的很很干净,还赠送了赠品,非常不错的体验 大胆放心购买",
"rate_date": "2024-09-02",
"pics": [
"//img.alicdn.com/imgextra/i3/0/O1CN01zfa1Lt29LPiC5GeDi_!!0-rate.jpg",
"//img.alicdn.com/imgextra/i3/0/O1CN01gmK5nm29LPiEiq3cd_!!0-rate.jpg",
"//img.alicdn.com/imgextra/i4/0/O1CN018UURzz29LPiHGCBVh_!!0-rate.jpg"
],
"display_user_nick": "揪你一颗糖",
"auction_sku": "颜色分类:【热销单品】Air3水晶紫冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "2",
"rate_id": "1248881694404",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i3/O1CN01QZTjHW1F4oegDvuEX_!!6000000000434-2-tps-92-45.png"
},
{
"rate_content": "好用",
"rate_date": "2024-09-02",
"pics": [
"//img.alicdn.com/imgextra/i1/0/O1CN01fixMc81SsMjJrX7pg_!!0-tbbala.jpg",
"//img.alicdn.com/imgextra/i1/0/O1CN01fNtNHZ1SsMjIJG7fR_!!0-tbbala.jpg",
"//img.alicdn.com/imgextra/i4/0/O1CN01ANU2eg1SsMjIJE6x3_!!0-tbbala.jpg",
"//img.alicdn.com/imgextra/i2/0/O1CN01fZ2BOk1SsMjNFZXx4_!!0-tbbala.jpg"
],
"display_user_nick": "蜡笔不小心",
"auction_sku": "颜色分类:【热销单品】Air3水晶紫冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "4",
"rate_id": "1248693973092",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i1/O1CN01Qym7UU1XAv0yfDV6O_!!6000000002884-2-tps-92-45.png"
},
{
"rate_content": "赠品很多,还给了舒缓的精华很贴心",
"rate_date": "2024-09-02",
"pics": [],
"display_user_nick": "凛y",
"auction_sku": "颜色分类:【热销单品】Air3水晶紫冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248869390669",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i1/O1CN01Qym7UU1XAv0yfDV6O_!!6000000002884-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写文本。",
"rate_date": "2024-09-01",
"pics": [],
"display_user_nick": "匿名买家",
"auction_sku": "颜色分类:【热销单品】Air3星黛粉冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248948071245",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写文本。",
"rate_date": "2024-09-01",
"pics": [],
"display_user_nick": "乔乔看看",
"auction_sku": "颜色分类:【热销单品】Air3星黛粉冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248830618101",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写文本。",
"rate_date": "2024-09-01",
"pics": [],
"display_user_nick": "乔乔看看",
"auction_sku": "颜色分类:【热销单品】Air3星黛粉冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248483748897",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "真的非常好用,超级好用,简单又方便,小巧的外观,带到哪都很方便,颜值也超高",
"rate_date": "2024-09-01",
"pics": [],
"display_user_nick": "辣味凤梨酥",
"auction_sku": "颜色分类:【热销单品】Air3水晶紫冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248648077995",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
{
"rate_content": "此用户没有填写文本。",
"rate_date": "2024-09-01",
"pics": [],
"display_user_nick": "wwjwawayu",
"auction_sku": "颜色分类:【24年新品】Air3Max太空银脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "0",
"rate_id": "1248940383457",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
{
"rate_content": "首先包装很不错,紫色也很好看,朋友说有效果推荐买的。试用了下,没有灼烧感,比较柔和,希望好用",
"rate_date": "2024-09-01",
"pics": [
"//img.alicdn.com/imgextra/i1/0/O1CN015EWAHK2Fp53u3n95e_!!0-rate.jpg"
],
"display_user_nick": "用户_66053379",
"auction_sku": "颜色分类:【热销单品】Air3水晶紫冰点脱毛仪",
"add_feedback": "",
"add_feedback_images": null,
"create_time_interval": null,
"read_count": "3",
"rate_id": "1248476184801",
"like_count": "0",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
}
],
"_ddf": "xdl"
},
"secache": "c6242a6b085e9249819ef31e436b1ef8",
"secache_time": 1725259753,
"secache_date": "2024-09-02 14:49:13",
"translate_status": "",