• 如何获得JD商品详情原数据


    如何获取JD商品详情原数据API,点击更多API调试请移步注册API账号
    点击获取测试key和secret

    公共参数

    请求地址: https://api-gw.onebound.cn/jd/item_get_app

    名称类型必须描述
    keyString调用key(点击获取测试key和secret
    secretString调用密钥
    api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
    cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
    result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
    langString[cn,en,ru]翻译语言,默认cn简体中文
    versionStringAPI版本

    请求参数

    请求参数:num_iid=10335871600

    参数说明:item_id:商品ID

    响应参数

    名称类型是否隐私示例值描述
    itemsitem[]获得京东app商品详情原数据

    请求示例

    	
    -- 请求示例 url 默认请求参数已经URL编码处理
    curl -i "https://api-gw.onebound.cn/jd/item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=10335871600"

    响应示例

    {
    		"item": {
    			"AdvertCount": {
    				"ad": "",
    				"id": ""
    			},
    			"CommentsCount": [
    				{
    					"AfterCount": 0,
    					"AfterCountStr": "1600+",
    					"AverageScore": 5,
    					"CommentCount": 0,
    					"CommentCountStr": "20万+",
    					"DefaultGoodCount": 0,
    					"DefaultGoodCountStr": "20万+",
    					"GeneralCount": 0,
    					"GeneralCountStr": "2300+",
    					"GeneralRate": 0.017,
    					"GeneralRateShow": 2,
    					"GeneralRateStyle": 3,
    					"GoodCount": 0,
    					"GoodCountStr": "15万+",
    					"GoodRate": 0.97,
    					"GoodRateShow": 97,
    					"GoodRateStyle": 145,
    					"OneYear": 0,
    					"PoorCount": 0,
    					"PoorCountStr": "2100+",
    					"PoorRate": 0.013,
    					"PoorRateShow": 1,
    					"PoorRateStyle": 2,
    					"ProductId": 10335871600,
    					"SensitiveBook": 0,
    					"ShowCount": 0,
    					"ShowCountStr": "9800+",
    					"SkuId": 10335871600,
    					"VideoCount": 0,
    					"VideoCountStr": "400+"
    				}
    			],
    			"activeTypeInfo": {
    				"cannotbuy": {
    					"cannotBuyMsg": "",
    					"cannotSingleBuy": "",
    					"cannotTuanBuy": ""
    				}
    			},
    			"allOverImg": "",
    			"areaId": "",
    			"bigouinfo": "",
    			"bizMsg": "",
    			"bizRetCode": "0",
    			"butie": {
    				"appSecondOrder": "",
    				"bannerRightTips1": "",
    				"bannerRightTips2": "",
    				"h5ArouseText": "",
    				"icon": "",
    				"joinTuanIconTips": "",
    				"layerTips1": "",
    				"layerTips2": "",
    				"limitEnv": "",
    				"pgOriginPrice": "",
    				"raiseTuanIconTips": "",
    				"subsidyAmount": "",
    				"subsidyAmountText": "",
    				"subsidyCode": "",
    				"tips": "",
    				"type": "",
    				"wxappArouseText": ""
    			},
  • 相关阅读:
    GO编程实践:如何高效使用变量
    一句话实现冒泡排序
    springCloud-LoadBalancer负载均衡
    外观模式
    表格数据管理的新视角:JVS低代码的两大应用场景
    使用setoolkit进行社会工程学攻击获取账号密码
    香氛行业品类新趋势洞察|香氛成为跨界宠儿,谁能“真香”?
    Opencv 基本操作四 指针数组、vector与Mat之间的相互转换
    Python量化接口源码分享
    LC501. 二叉搜索树中的众数
  • 原文地址:https://blog.csdn.net/weixin_55869602/article/details/126331621