之前做项目的时候用到了淘宝API就上网去查了一些,总结了一些,现在分享给大家,希望对大家有帮助,先对淘宝API做个简介吧:
•淘宝OpenAPI(Open application programming interface)是一套REST方式的开放应用程序编程接口。淘宝网根据自己提供的电子商务基础服务,抽象并做成一系列的API接口。通过这些接口,可以让外部用户能够通过程序的方式访问淘宝网的数据和平台。淘宝OpenAPI是淘宝开放平台的重要组成部分,是淘宝开放平台三大方向之一——开放业务的主要形式。淘宝OpenAPI又叫TOP(taobao open platform)(下面简称top)
•开发基于openAPI的程序,就是利用淘宝提供的API函数来构造一个URL,通过这个URL去访问淘宝的数据平台,然后服务器会根据你的API返回相应的数据,程序接收到这些数据后再解析并显示出来
用户接入 top 流程图:
免费测试链接
"rate_content": "太漂亮了 本来买的时候犹豫很久很久很久 从来没有买过黄色的 觉得不好配衣服也觉得图片一般 犹豫了有一天终于下定决心去买一个试试 结果太太太太让我惊喜了 太漂亮了 很亮鞋子特别舒服 我买的大一点 也很舒服 还挺好配衣服的 后悔就买一双了 现在我家都是她家的鞋子了 绝对的YYDS",
"rate_date": "2022-08-23",
"pics": [],
"display_user_nick": "",
"auction_sku": "尺码:36;颜色分类:黄色【内里:超细纤维】",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "10天前",
"read_count": "0",
"rate_id": "1184973493639",
"comment_count": "0",
"like_count": [],
"user_star": "8",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
{
"rate_content": "鞋子很满意,3号客服棒棒哒,长毛绒也很暖和 ",
"rate_date": "2021-12-05",
"pics": [
"//img.alicdn.com/imgextra/i2/0/O1CN01DD4Zcv1IxGY6IPN73_!!0-rate.jpg",
"//img.alicdn.com/imgextra/i1/0/O1CN0189R9CP1IxGYCdWZyV_!!0-rate.jpg"
],
"display_user_nick": "",
"auction_sku": "尺码:39;颜色分类:黑色【内里:长毛绒】",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "9个月前",
"read_count": "38",
"rate_id": "1158296533060",
"comment_count": "0",
"like_count": [],
"user_star": "7",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "面料材质:材质有一点点硬,版型不错,整体还凑合,对得起这个价格 ",
"rate_date": "2021-11-16",
"pics": [
"//img.alicdn.com/imgextra/i3/0/O1CN01TrfEtd2M3Ag2ClelC_!!0-rate.jpg"
],
"display_user_nick": "",
"auction_sku": "尺码:39;颜色分类:黑色【内里:长毛绒】",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "9个月前",
"read_count": "165",
"rate_id": "1155310540482",
"comment_count": "0",
"like_count": [],
"user_star": "7",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN01ZlCYMx1nbVriw6u0S_!!6000000005108-2-tps-92-45.png"
},
{
"rate_content": "买第二双了,鞋子很漂亮也挺舒服",
"rate_date": "2021-11-09",
"pics": [],
"display_user_nick": "",
"auction_sku": "尺码:39;颜色分类:黄色【内里:超细纤维】",
"add_feedback": "",
"add_feedback_images": [],
"create_time_interval": "9个月前",
"read_count": "1",
"rate_id": "1154131764289",
"comment_count": "0",
"like_count": [],
"user_star": "8",
"user_star_pic": "https://img.alicdn.com/imgextra/i4/O1CN019QZnaG1U1LtUAPn6e_!!6000000002457-2-tps-92-45.png"
},
免费测试链接