首页 > 其他分享 >1688商品评论API接口-(item_review-获得1688商品评论API接口)

1688商品评论API接口-(item_review-获得1688商品评论API接口)

时间:2023-08-01 17:37:11浏览次数:38  
标签:gw 39 接口 API https 1688 null com png


一、1688商品评论API接口-(item_review-获得1688商品评论API接口)代码对接如下:

1.公共参数

名称

类型

必须

描述

key

String


调用key(必须以GET方式拼接在URL中)

secret

String


调用密钥 (点击获取测试key和secret )

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=612398037607&user_id=3838217801&nick=浙江祥珑科技

参数说明:num_iid:1688商品ID
user_id卖家id
nick卖家昵称

3.响应参数

名称

类型

必须

示例值

描述

items

items[]

0

商品评论数据

num_iid

String

0

612398037607

商品ID

total_results

String

0

10+

货品评分

detail_url

String

0

https://rate2.m.1688.com/page/rateListForOffer.html?offerId=612398037607&sellerLoginId=浙江祥珑科技&offerScene=dsc

评论链接

item

item[]

0

content

String

0

好评

评论内容

explanation

Mix

0

gmtExplanation

Mix

0

gmtPublished

String

0

2020-08-29 19:06:39

评论时间

isSystemRemark

Mix

0

isTaobaoMember

Mix

0

levelImg

String

0

https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png

评论图片

quantity

Float

0

1.0

库存

raterUserNick

String

0

r**1

旺旺名

specInfo

String

0

颜色:可爱喵+3米延长线

购买的商品规格

starLevel

String

0

5

评分等级

unit

String

0


单位

 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://wx19970108018/1688/item_review/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=612398037607&user_id=3838217801&nick=浙江祥珑科技"
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)

5.响应示例:

{
	"items": {
		"num_iid": "612398037607",
		"total_results": "10+",
		"rate_average": "5.0",
		"good_percent": "好评率100%",
		"detail_url": "https://rate2.m.1688.com/page/rateListForOffer.html?offerId=612398037607&sellerLoginId=浙江祥珑科技&offerScene=dsc",
		"item": [
			{
				"content": "好评。",
				"explanation": null,
				"gmtExplanation": null,
				"gmtPublished": "2020-08-29 19:06:39",
				"isSystemRemark": "false",
				"isTaobaoMember": "1",
				"levelImg": "https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png",
				"quantity": "1.0",
				"raterUserNick": "r**1",
				"specInfo": "颜色:可爱喵+3米延长线",
				"starLevel": "5",
				"unit": "个"
			},
			{
				"content": "好评。",
				"explanation": null,
				"gmtExplanation": null,
				"gmtPublished": "2020-08-02 10:43:27",
				"isSystemRemark": "false",
				"isTaobaoMember": "1",
				"levelImg": "https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png",
				"quantity": "1.0",
				"raterUserNick": "r**1",
				"specInfo": "颜色:萌小黄+定时线",
				"starLevel": "5",
				"unit": "个"
			},
			{
				"content": "好评。",
				"explanation": null,
				"gmtExplanation": null,
				"gmtPublished": "2020-07-21 21:30:12",
				"isSystemRemark": "false",
				"isTaobaoMember": "1",
				"levelImg": "https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png",
				"quantity": "1.0",
				"raterUserNick": "r**1",
				"specInfo": "颜色:饭团+3米延长线",
				"starLevel": "5",
				"unit": "个"
			},
			{
				"content": "好评。",
				"explanation": null,
				"gmtExplanation": null,
				"gmtPublished": "2020-07-07 00:04:41",
				"isSystemRemark": "false",
				"isTaobaoMember": "1",
				"levelImg": "https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png",
				"quantity": "2.0",
				"raterUserNick": "r**1",
				"specInfo": "颜色:萌小黄+3米延长线|颜色:萌大白+3米延长线",
				"starLevel": "5",
				"unit": "个"
			},
			{
				"content": "好评。",
				"explanation": null,
				"gmtExplanation": null,
				"gmtPublished": "2020-06-19 10:36:17",
				"isSystemRemark": "false",
				"isTaobaoMember": "1",
				"levelImg": "https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png",
				"quantity": "1.0",
				"raterUserNick": "r**1",
				"specInfo": "颜色:萌大白",
				"starLevel": "5",
				"unit": "个"
			},
			{
				"content": "好评。",
				"explanation": null,
				"gmtExplanation": null,
				"gmtPublished": "2020-06-19 10:36:03",
				"isSystemRemark": "false",
				"isTaobaoMember": "1",
				"levelImg": "https://gw.alicdn.com/tfs/TB1HlZKoAcx_u4jSZFlXXXnUFXa-60-39.png",
				"quantity": "1.0",
				"raterUserNick": "r**1",
				"specInfo": "颜色:萌大白+定时线",
				"starLevel": "5",
				"unit": "个"
			}
		],
		"data_from": "1688app"
	},
	"secache": "4eafb7d1ba85181a0f9fa8e658351f5c",
	"secache_time": 1649993685,
	"secache_date": "2022-04-15 11:34:45",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"error": "",
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:9 max:11000",
	"execution_time": "3.592",
	"server_time": "Beijing/2022-04-15 11:34:45",
	"client_ip": "106.6.33.38",
	"call_args": {
		"num_iid": "612398037607",
		"data": "3838217801",
		"page": "浙江祥珑科技"
	},
	"api_type": "1688",
	"translate_language": "zh-CN",
	"translate_engine": "google_new",
	"server_memory": "0.76MB",
	"request_id": "gw-4.6258e7d1b5595",
	"last_id": "885798952"}

标签:gw,39,接口,API,https,1688,null,com,png
From: https://blog.51cto.com/u_16175140/6925325

相关文章

  • 比较好用的个微API接口
    最近公司需要找一家个微的API助手接口服务,具体需求是可以批量打标签等进行好友管理,社群管理需要自动聊天,自动回复,转发语音,以及定时群发等,还可以提取聊天内容,进行数据汇总,收藏快捷回复各种功能!找了很多天是找到了现在用的一款助手,用起来还是很方便的就是这一款,大家可以看一下:简要描......
  • 淘宝/天猫获取卖出的商品订单列表API接口,店铺订单API接口,店铺订单详情API接口
    一、淘宝/天猫获取卖出的商品订单列表API接口,店铺订单API接口,店铺订单详情API接口代码如下:1.公共参数:名称类型必须描述keyString是调用key(必须以GET方式拼接在URL中)secretString是调用密钥(点击获取key和secret)api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,......
  • taobao.product.get获取一个产品的信息API接口,店铺发布商品API接口,店铺上传API接口,店
    天猫商家发布商品时,查询关联产品信息时使用,非商品查询接口。商品查询接口:taobao.item.seller.get两种方式查看一个产品详细信息:传入product_id来查询;传入cid和props来查询1.公共参数:名称类型必须描述methodString是API接口名称,例如:taobao.product.getapp_keyString是TOP分配给......
  • 获得店铺所有商品 API(店铺商品列表、店铺商品)
    以下是行业内了解到的一些情况,本帖只展示部分代码,需要更多API调试请移步注册API账号http://console.open.onebound.cn/console/?i=Turbo公共参数名称类型必须描述keyString是调用keysecretString是调用密钥api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,item......
  • 1688淘口令链接API接口-item_password-获得淘口令真实url 接口,淘口令API接口
    一、1688淘口令链接API接口-item_password-获得淘口令真实url接口,淘口令API接口代码如下:1.公共参数:名称类型必须描述keyString是调用key(必须以GET方式拼接在URL中)secretString是调用密钥(点击获取key和secret)api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,......
  • 分类详情 API 返回值说明
    以下是行业内了解到的一些情况,本帖只展示部分代码,需要更多API调试请移步注册API账号http://console.open.onebound.cn/console/?i=Turbo公共参数名称类型必须描述keyString是调用key  secretString是调用密钥api_nameString是API接口名称(包括在请求地址中)[item_search,item_get,......
  • taobao.top.oaid.decrypt( OAID解密 )淘宝开放平台店铺订单解密接口,店铺订单明文接口,
    taobao.top.oaid.decrypt(OAID解密)淘宝开放平台店铺订单解密接口,店铺订单明文接口,店铺订单买家信息解密接口对接教程如下:1.公共参数名称类型必须描述(接口代码教程wx19970108018)keyString是调用key(必须以GET方式拼接在URL中,点击获取请求key和secret)secretString是调用密钥api_na......
  • pdd.order.information.get拼多多店铺订单详情接口(店铺订单交易接口,店铺订单明文接口
    pdd.order.information.get拼多多店铺订单详情接口(店铺订单交易接口,店铺订单明文接口,店铺订单解密接口)代码对接教程如下:1.公共参数参数名称参数类型是否必填参数描述(接口代码教程wx19970108018)typeString必填API接口名称(点击获取请求key和secret)client_idString必填POP分配给应......
  • 淘宝商品详情采集上架抖音店铺(无货源商品数据采集接口,抖音商品详情接口,淘宝商品详情接
    淘宝商品详情采集上架抖音店铺(无货源商品数据采集接口,抖音商品详情接口,淘宝商品详情接口)接口代码对接教程如下:1.公共参数名称类型必须描述(接口代码教程wx19970108018)keyString是调用key(必须以GET方式拼接在URL中,点击获取请求key和secret)secretString是调用密钥api_nameString是API......
  • 拼多多商品详情采集上传京东店铺(拼多多商品详情接口,京东商品详情接口,整店宝贝采集接口
    拼多多商品详情采集上传京东店铺(拼多多商品详情接口,京东商品详情接口,整店宝贝采集接口,一键采集宝贝详情接口,无货源商品详情采集接口)代码对接教程如下:1.公共参数名称类型必须描述(接口代码教程wx19970108018)keyString是调用key(必须以GET方式拼接在URL中,点击获取请求key和secret)secre......