Python接入API接口技术开发商品详情原数据api接口采集商品app端数据,发货时间,优惠券等数据api接入示例

要获取淘宝、京东、拼多多、1688商品详情、发货时间、优惠券等数据,可以通过淘宝的API接口来实现。以下是一个简单的接入示例:

  1. 注册一个api账号并获取Api Key和Api Secret

  2. 使用淘宝的API接口,如taobao.item.get(获取单个商品的详细信息)和taobao.shop.get(获取店铺信息)等。

  3. 使用HTTP客户端(如Python的requests库)发送请求,携带Api Key和Api Secret进行身份验证。

  4. 解析API返回的JSON数据,提取所需信息。

以下是一个使用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://item_get_app/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=520813250866"
headers = {
    "Accept-Encoding": "gzip",
    "Connection": "close"
}
if __name__ == "__main__":
    r = requests.get(url, headers=headers)
    json_obj = r.json()
    print(json_obj)

API接口请求响应示例

{
	"item": {
		"apiStack": [
			{
				"buyer": [],
				"delivery": {
					"addressWeexUrl": "https://market.m.taobao.com/apps/market/detailrax/address-picker.html?spm=a2116h.app.0.0.16d957e9nDYOzv&wh_weex=true",
					"areaId": "320722",
					"areaSell": "true",
					"completedTo": "连云港市 东海县",
					"extras": {
						"PostTime": {
							"args": {
								"timingAbExpId": "-1",
								"timingAbExpress": "true",
								"timingAbServName": "多日达",
								"timingBizType": "FMCG_SIGN_TIME",
								"timingPromise": "false",
								"timingRenderType": "多日达",
								"tmallDelivery": "false"
							},
							"text": "预计13小时内发货,预计3天内送达"
						},
						"ReceiveTime": {
							"args": {
								"timingAbExpId": "-1",
								"timingAbExpress": "true",
								"timingAbServName": "多日达",
								"timingBizType": "FMCG_SIGN_TIME",
								"timingPromise": "false",
								"timingRenderType": "多日达",
								"tmallDelivery": "false"
							},
							"text": "预计13小时内发货,预计3天内送达"
						}
					},
					"from": "四川成都",
					"overseaContraBandFlag": "false",
					"postage": "快递:  免运费",
					"showAreaChooser": "true",
					"to": "东海县"
				},
				"item": {
					"containerDimension": "1:1",
					"descType": "0",
					"extraMap": [],
					"h5ItemUrl": "https://new.m.taobao.com/detail.htm?id=525772228032&hybrid=true",
					"images": [
						"https://img.alicdn.com/imgextra/i2/2621606610/O1CN01Pd0CKE1yhQlC8YhEj_!!0-item_pic.jpg",
						"https://img.alicdn.com/imgextra/i1/2621606610/O1CN01kwjWTf1yhQiR3bVgz_!!2621606610.jpg",
						"https://img.alicdn.com/imgextra/i3/2621606610/O1CN01RAIRM71yhQiY0LG8e_!!2621606610.jpg",
						"https://img.alicdn.com/imgextra/i3/2621606610/O1CN01wceuRB1yhQiUVJu90_!!2621606610.jpg",
						"https://img.alicdn.com/imgextra/i2/2621606610/O1CN01bm7mIK1yhQlBHK21e_!!2621606610.png"
					],
					"infoText": [],
					"itemId": "525772228032",
					"sellCount": "1000+",
					"shareItemLink": "https://item.taobao.com/item.htm?id=525772228032",
					"showShopActivitySize": "2",
					"skuText": "配送至:东海县,请选择适用学龄段/科目",
					"spuId": "469048012",
					"title": "写字一二三年级四五六上册下同步规范字帖描红姜浩1\\2\\3\\4\\5\\6语文课本同步作业字词句听写课课练写字课练字帖小学生字在笔得南海",
					"titleIcon": "//img.alicdn.com/tfs/TB1SMG7nnvI8KJjSspjXXcgjXXa-78-36.png?getAvatar=avatar",
					"vagueSellCount": "1000+",
					"wxShareUrl": "https://new.m.taobao.com/detail.htm?id=525772228032"
				},
				"itemParams": {
					"groupProps": [
						{
							"基本信息": [
								{
									"ISBN编号": "9787544264914"
								},
								{
									"书名": "写字 同步规范字帖 RJ三年级下"
								},
								{
									"作者": "姜浩"
								},
								{
									"科目": "一年级上册 一年级下册 【2本】一年级上下册 二年级上册 二年级下册 【2本】二年级上下册 三年级上册 三年级下册 【2本】三年级上下册 四年级上册 四年级下册 【2本】四年级上下册 五年级上册 五年级下册 【2本】五年级上下册 六年级上册 六年级下册 【2本】六年级上下册 小学生古诗词拼音 自选2册(下单备注书名)"
								},
								{
									"定价": "15.00元"
								},
								{
									"书名": "写字 同步规范字帖 RJ三年级下"
								},
								{
									"是否是套装": "否"
								},
								{
									"出版社名称": "南海出版公司"
								},
								{
									"适用学龄段": "小学通用"
								}
							]
						}
					],
					"propsList": null
				},
				"newdetail": [],
				"price": {
					"price": {
						"priceText": "11-26.15",
						"priceTitle": "活动价",
						"showTitle": "false",
						"sugProm": "false",
						"type": "1"
					},
					"shopProm": [
						{
							"content": [
								"每满300减40,可跨店,上不封顶",
								"GBK"
							],
							"iconText": "跨店",
							"period": "2024.04.23 20:00-2024.04.28 23:59",
							"type": "2"
						},
						{
							"iconText": "跨店",
							"period": "2024.04.23 20:00-2024.04.28 23:59",
							"type": "2"
						},
						{
							"activityId": "0",
							"content": [
								"购买可得5积分"
							],
							"iconText": "积分",
							"title": "购买可得5积分",
							"type": "5"
						}
					],
					"shopPromTitle": "促销",
					"transmitPrice": {
						"priceText": "11-26.15",
						"priceTitle": "活动价",
						"showTitle": "false",
						"sugProm": "false"
					}
				},
				"priceSectionData": {
					"bizType": "p-bigMarkdown-*-online",
					"extraPrice": {
						"lineThrough": "true",
						"priceColor": "#FFFFFF",
						"priceMoney": "2200",
						"priceTail": "起",
						"priceText": "22",
						"priceTitle": "价格",
						"priceViews": [
							{
								"humpInteger": "22"
							}
						]
					},
					"mainBelt": {
						"bizType": "0",
						"priceBeltColor": "#FF0036",
						"priceBeltImg": "https://img.alicdn.com/imgextra/i2/O1CN01jhhF5l25QDMXivQS1_!!6000000007520-0-tps-1125-210.jpg",
						"promotionBeltColor": "#FF0036",
						"rightBelt": {
							"countDownBackgroundColor": "#000000",
							"countDownStatus": "1",
							"countdown": "1",
							"endTime": "1714319999000",
							"extraText": "下单立抢",
							"extraTextColor": "#FFFFFF",
							"logo": "https://img.alicdn.com/imgextra/i4/O1CN01V02oL91m7uq904wA5_!!6000000004908-2-tps-398-72.png",
							"now": "1714273557308",
							"startTime": "1713873600000",
							"text": "热卖中",
							"textColor": "#FFFFFF"
						},
						"styleType": "2"
					},
					"price": {
						"priceMoney": "1100",
						"priceTail": "起",
						"priceText": "11",
						"priceTitle": "活动价",
						"priceViews": [
							{
								"humpInteger": "11"
							}
						]
					},
					"priceType": "line_price",
					"promotion": {
						"entranceTip": "领券",
						"entranceUrl": "https://market.m.taobao.com/app/detail-project/detail-pages/pages/quan2020?wh_weex=true&marketcoupon=true",
						"items": [
							{
								"bgImage": "https://gw.alicdn.com/tfs/TB1.dqZSgHqK1RjSZJnXXbNLpXa-40-40.png",
								"content": "跨店每300减40",
								"endTime": "2024-04-28 23:59:59",
								"sbgImage": "https://gw.alicdn.com/tfs/TB12R2Oerj1gK0jSZFuXXcrHpXa-302-80.png",
								"scontent": "跨店每300减40",
								"startTime": "2024-04-23 20:00:00",
								"textColor": "#FD5F20",
								"type": "default"
							},
							{
								"bgImage": "https://gw.alicdn.com/tfs/TB1.dqZSgHqK1RjSZJnXXbNLpXa-40-40.png",
								"content": "图书券满200减20",
								"endTime": "2024-04-28 23:59:59",
								"sbgImage": "https://gw.alicdn.com/tfs/TB1k50Yj4D1gK0jSZFsXXbldVXa-280-40.png",
								"scontent": "满200减20",
								"startTime": "2024-04-23 20:00:00",
								"stitle": "图书券",
								"textColor": "#FD5F20",
								"type": "default"
							},
							{
								"bgImage": "https://gw.alicdn.com/tfs/TB1.dqZSgHqK1RjSZJnXXbNLpXa-40-40.png",
								"content": "店铺券满100减10",
								"endTime": "2024-05-05 23:59:59",
								"sbgImage": "https://gw.alicdn.com/tfs/TB1k50Yj4D1gK0jSZFsXXbldVXa-280-40.png",
								"scontent": "满100减10",
								"startTime": "2024-04-29 00:00:00",
								"stitle": "店铺券",
								"textColor": "#FD5F20",
								"type": "default"
							}
						],
						"promotionBeltColor": "#FF0036"
					},
					"promotionHeightLevel": "2",
					"styleTye": "2"
				},
				"promotionFloatingData": {
					"buyEnable": "true",
					"detailPromotionTimeDO": {
						"effectiveTime": "2024-04-23 20:00:00",
						"promotionType": "BIGMARKDOWN",
						"unEffectiveTime": "2024-04-28 23:59:59",
						"warmUpEndTime": "2024-04-23 20:00:00",
						"warmUpStartTime": "2024-04-23 00:00:00"
					},
					"promotionText": "活动价¥11起",
					"skuMoney": {
						"cent": "1100",
						"skuId": "4944415603546"
					}
				},
				"seller": {
					"evaluates3": [
						{
							"level": "0",
							"levelText": "平",
							"levelTextColor": "#ffffff",
							"score": "4.8 ",
							"scoreTextColor": "#ffffff",
							"title": "宝贝描述",
							"titleColor": "#ffffff",
							"type": "desc"
						},
						{
							"level": "0",
							"levelText": "平",
							"levelTextColor": "#ffffff",
							"score": "4.8 ",
							"scoreTextColor": "#ffffff",
							"title": "卖家服务",
							"titleColor": "#ffffff",
							"type": "serv"
						},
						{
							"level": "-1",
							"levelText": "低",
							"levelTextColor": "#ffffff",
							"score": "4.8 ",
							"scoreTextColor": "#ffffff",
							"title": "物流服务",
							"titleColor": "#ffffff",
							"type": "post"
						}
					],
					"sellerId": "2621606610",
					"sellerType": "B",
					"shopIcon": "//img.alicdn.com/imgextra//7c/c6/TB16_frIFXXXXbWapXXSutbFXXX.jpg",
					"shopId": "139961029",
					"shopName": "书乐购图书专营店",
					"shopUrl": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2621606610&item_id=525772228032",
					"userId": "2621606610"
				},
				"skuBase": {
					"props": [
						{
							"hasImage": "false",
							"name": "适用学龄段",
							"pid": "210158085",
							"values": [
								{
									"name": "小学通用",
									"sortOrder": "0",
									"vid": "170720673"
								}
							]
						},
						{
							"hasImage": "true",
							"name": "科目",
							"nameDesc": "(20)",
							"pid": "7487204",
							"values": [
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN01Fm0QYi1yhQiTW09IK_!!2621606610.jpg",
									"name": "一年级上册",
									"sortOrder": "1",
									"vid": "147757162"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN018iaMUl1yhQiSKK3UZ_!!2621606610.jpg",
									"name": "一年级下册",
									"sortOrder": "2",
									"vid": "203496883"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN014qD4mD1yhQiMA32eT_!!2621606610.jpg",
									"name": "【2本】一年级上下册",
									"sortOrder": "3",
									"vid": "2229838170"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i1/2621606610/O1CN014dnDSR1yhQjI6VrhB_!!2621606610.jpg",
									"name": "二年级上册",
									"sortOrder": "4",
									"vid": "73424401"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN01JzeYUS1yhQiV1u7KU_!!2621606610.jpg",
									"name": "二年级下册",
									"sortOrder": "5",
									"vid": "73424058"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN01rBAfD71yhQiQSEcuw_!!2621606610.jpg",
									"name": "【2本】二年级上下册",
									"sortOrder": "6",
									"vid": "14011983655"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN01jqXz561yhQl8YD6e2_!!2621606610.jpg",
									"name": "三年级上册",
									"sortOrder": "7",
									"vid": "79872932"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i2/2621606610/O1CN01tUyKQG1yhQiM9pTok_!!2621606610.jpg",
									"name": "三年级下册",
									"sortOrder": "8",
									"vid": "73424673"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN01dEaYVu1yhQl931DUt_!!2621606610.jpg",
									"name": "【2本】三年级上下册",
									"sortOrder": "9",
									"vid": "14011983656"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i1/2621606610/O1CN01Ys85h31yhQiUUl8C0_!!2621606610.jpg",
									"name": "四年级上册",
									"sortOrder": "10",
									"vid": "101678851"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN01h4gC5u1yhQiXzsvek_!!2621606610.jpg",
									"name": "四年级下册",
									"sortOrder": "11",
									"vid": "111082321"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i2/2621606610/O1CN01itwrI91yhQiSQb6CI_!!2621606610.jpg",
									"name": "【2本】四年级上下册",
									"sortOrder": "12",
									"vid": "12884202866"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN01dJVPgK1yhQiV21u34_!!2621606610.jpg",
									"name": "五年级上册",
									"sortOrder": "13",
									"vid": "110150609"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN016OSJpL1yhQiTc6Nrf_!!2621606610.jpg",
									"name": "五年级下册",
									"sortOrder": "14",
									"vid": "73423542"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i2/2621606610/O1CN01obyo7h1yhQiV7itju_!!2621606610.jpg",
									"name": "【2本】五年级上下册",
									"sortOrder": "15",
									"vid": "12884781646"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i2/2621606610/O1CN01ZWsxYO1yhQl8YAYXG_!!2621606610.jpg",
									"name": "六年级上册",
									"sortOrder": "16",
									"vid": "148843344"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN01P2uR9N1yhQiQMS3sp_!!2621606610.jpg",
									"name": "六年级下册",
									"sortOrder": "17",
									"vid": "104565591"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i1/2621606610/O1CN01AcSC6Z1yhQl8Zu6Pm_!!2621606610.jpg",
									"name": "【2本】六年级上下册",
									"sortOrder": "18",
									"vid": "14011983657"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN01N7DXBh1yhQiNhLoEB_!!2621606610.jpg",
									"name": "小学生古诗词拼音",
									"sortOrder": "19",
									"vid": "2434876019"
								},
								{
									"image": "https://gw.alicdn.com/bao/uploaded/i1/2621606610/O1CN01Qad79E1yhQiW7hfUe_!!2621606610.jpg",
									"name": "自选2册(下单备注书名)",
									"sortOrder": "20",
									"vid": "16795035843"
								}
							]
						}
					],
					"skus": [
						{
							"propPath": "210158085:170720673;7487204:147757162",
							"skuId": "4939801930091"
						},
						{
							"propPath": "210158085:170720673;7487204:203496883",
							"skuId": "4939801930093"
						},
						{
							"propPath": "210158085:170720673;7487204:2229838170",
							"skuId": "4939801930094"
						},
						{
							"propPath": "210158085:170720673;7487204:73424401",
							"skuId": "4939801930096"
						},
						{
							"propPath": "210158085:170720673;7487204:73424058",
							"skuId": "4939801930095"
						},
						{
							"propPath": "210158085:170720673;7487204:14011983655",
							"skuId": "4939801930089"
						},
						{
							"propPath": "210158085:170720673;7487204:79872932",
							"skuId": "4939801930097"
						},
						{
							"propPath": "210158085:170720673;7487204:73424673",
							"skuId": "4944415603548"
						},
						{
							"propPath": "210158085:170720673;7487204:14011983656",
							"skuId": "4944415603545"
						},
						{
							"propPath": "210158085:170720673;7487204:101678851",
							"skuId": "4939801930084"
						},
						{
							"propPath": "210158085:170720673;7487204:111082321",
							"skuId": "4939801930087"
						},
						{
							"propPath": "210158085:170720673;7487204:12884202866",
							"skuId": "4939801930088"
						},
						{
							"propPath": "210158085:170720673;7487204:110150609",
							"skuId": "4939801930086"
						},
						{
							"propPath": "210158085:170720673;7487204:73423542",
							"skuId": "4944415603547"
						},
						{
							"propPath": "210158085:170720673;7487204:12884781646",
							"skuId": "4944415603544"
						},
						{
							"propPath": "210158085:170720673;7487204:148843344",
							"skuId": "4939801930092"
						},
						{
							"propPath": "210158085:170720673;7487204:104565591",
							"skuId": "4939801930085"
						},
						{
							"propPath": "210158085:170720673;7487204:14011983657",
							"skuId": "4939801930090"
						},
						{
							"propPath": "210158085:170720673;7487204:2434876019",
							"skuId": "4944415603546"
						},
						{
							"propPath": "210158085:170720673;7487204:16795035843",
							"skuId": "4945097811228"
						}
					]
				},
				"skuCore": {
					"sku2info": {
						"0": {
							"moreQuantity": "true",
							"price": {
								"priceMoney": "1100",
								"priceText": "11-26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "200",
							"quantityCheckTransParams": {
								"cipherQuantity": "V6W0Es5502Xe967ZsVbI9KpXjeH3+Owh0L9aznAFK0I="
							},
							"quantityText": "有货"
						},
						"4939801930084": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "13",
							"quantityText": "有货"
						},
						"4939801930085": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "198",
							"quantityText": "有货"
						},
						"4939801930086": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "40",
							"quantityText": "有货"
						},
						"4939801930087": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "85",
							"quantityText": "有货"
						},
						"4939801930088": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "195",
							"quantityText": "有货"
						},
						"4939801930089": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "189",
							"quantityText": "有货"
						},
						"4939801930090": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "187",
							"quantityText": "有货"
						},
						"4939801930091": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "23",
							"quantityText": "有货"
						},
						"4939801930092": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "90",
							"quantityText": "有货"
						},
						"4939801930093": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "true",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "200",
							"quantityCheckTransParams": {
								"cipherQuantity": "JtAbeSvBErUFwUtFo0dVlTUG6+2cVasR2LP0AI4jlg0="
							},
							"quantityText": "有货"
						},
						"4939801930094": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "168",
							"quantityText": "有货"
						},
						"4939801930095": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "26",
							"quantityText": "有货"
						},
						"4939801930096": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "4",
							"quantityText": "库存紧张"
						},
						"4939801930097": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "64",
							"quantityText": "有货"
						},
						"4944415603544": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "191",
							"quantityText": "有货"
						},
						"4944415603545": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "189",
							"quantityText": "有货"
						},
						"4944415603546": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "true",
							"price": {
								"priceMoney": "1100",
								"priceText": "11",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "200",
							"quantityCheckTransParams": {
								"cipherQuantity": "8w2mNdUaHq+lk90eP0pZjb3ziHjUst45Vawh7xIHL/A="
							},
							"quantityText": "有货"
						},
						"4944415603547": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "62",
							"quantityText": "有货"
						},
						"4944415603548": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "1560",
								"priceText": "15.6",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "4",
							"quantityText": "库存紧张"
						},
						"4945097811228": {
							"cartParam": {
								"addCartCheck": "true"
							},
							"logisticsTime": "预计13小时内发货,预计3天内送达",
							"moreQuantity": "false",
							"price": {
								"priceMoney": "2615",
								"priceText": "26.15",
								"showTitle": "false",
								"sugProm": "false"
							},
							"quantity": "100",
							"quantityText": "有货"
						}
					}
				},
				"skuLightOff": {
					"float": [
						{
							"containerType": "dinamicx",
							"loadTimeOut": "5000",
							"name": "skuBottom",
							"url": "https://dinamicx.alibabausercontent.com/l_pub/detail_blacklight_float/1696941315014/detail_blacklight_float.zip",
							"version": "1"
						}
					]
				},
				"skuTransform": {
					"extraText": "共20种科目可选",
					"skuContents": [
						{
							"img": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN01Fm0QYi1yhQiTW09IK_!!2621606610.jpg"
						},
						{
							"img": "https://gw.alicdn.com/bao/uploaded/i3/2621606610/O1CN018iaMUl1yhQiSKK3UZ_!!2621606610.jpg"
						},
						{
							"img": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN014qD4mD1yhQiMA32eT_!!2621606610.jpg"
						},
						{
							"img": "https://gw.alicdn.com/bao/uploaded/i1/2621606610/O1CN014dnDSR1yhQjI6VrhB_!!2621606610.jpg"
						},
						{
							"img": "https://gw.alicdn.com/bao/uploaded/i4/2621606610/O1CN01JzeYUS1yhQiV1u7KU_!!2621606610.jpg"
						}
					]
				},
				"skuVertical": [],
				"trade": {
					"buyEnable": "true",
					"buyParam": {
						"areaId": "320722"
					},
					"cartEnable": "true",
					"cartJumpUrl": "https://h5.m.taobao.com/awp/base/cart.htm",
					"cartParam": {
						"areaId": "320722"
					},
					"hintBanner": [],
					"isBanSale4Oversea": "false",
					"isWap": "false",
					"tradeParams": [],
					"useWap": "false"
				}
			}
		],
		"item": {
			"cartUrl": "https://h5.m.taobao.com/awp/base/cart.htm",
			"categoryId": "50002833",
			"commentCount": "0",
			"countMultiple": [],
			"exParams": [],
			"favcount": "196",
			"h5ItemUrl": "https://new.m.taobao.com/detail.htm?id=525772228032&hybrid=true",
			"images": [
				"//img.alicdn.com/imgextra/i2/2621606610/O1CN01Pd0CKE1yhQlC8YhEj_!!0-item_pic.jpg",
				"//img.alicdn.com/imgextra/i1/2621606610/O1CN01kwjWTf1yhQiR3bVgz_!!2621606610.jpg",
				"//img.alicdn.com/imgextra/i3/2621606610/O1CN01RAIRM71yhQiY0LG8e_!!2621606610.jpg",
				"//img.alicdn.com/imgextra/i3/2621606610/O1CN01wceuRB1yhQiUVJu90_!!2621606610.jpg",
				"//img.alicdn.com/imgextra/i2/2621606610/O1CN01bm7mIK1yhQlBHK21e_!!2621606610.png"
			],
			"itemId": "525772228032",
			"openDecoration": "false",
			"pcADescUrl": "//market.m.taobao.com/app/detail-project/desc/index.html?id=525772228032&descVersion=7.0&type=1&f=icoss!0525772228032!13688322002&sellerType=B",
			"rootCategoryId": "33",
			"skuText": "请选择适用学龄段 科目 ",
			"subtitle": "书法微课视频讲解送课程表学习约定",
			"taobaoDescUrl": "https://market.m.taobao.com/app/detail-project/desc/index.html?id=525772228032&descVersion=6.0&type=1&f=icoss!0525772228032!13688322002&sellerType=B",
			"taobaoPcDescUrl": "https://market.m.taobao.com/app/detail-project/desc/index.html?id=525772228032&descVersion=6.0&type=1&f=icoss!0525772228032!13688322002&sellerType=B",
			"title": "写字一二三年级四五六上册下同步规范字帖描红姜浩1\\2\\3\\4\\5\\6语文课本同步作业字词句听写课课练写字课练字帖小学生字在笔得南海",
			"tmallDescUrl": "//mdetail.tmall.com/templates/pages/desc?id=525772228032"
		},
		"props": {
			"groupProps": [
				{
					"基本信息": [
						{
							"ISBN编号": "9787544264914"
						},
						{
							"书名": "写字 同步规范字帖 RJ三年级下"
						},
						{
							"作者": "姜浩"
						},
						{
							"科目": "一年级上册 一年级下册 【2本】一年级上下册 二年级上册 二年级下册 【2本】二年级上下册 三年级上册 三年级下册 【2本】三年级上下册 四年级上册 四年级下册 【2本】四年级上下册 五年级上册 五年级下册 【2本】五年级上下册 六年级上册 六年级下册 【2本】六年级上下册 小学生古诗词拼音 自选2册(下单备注书名)"
						},
						{
							"定价": "15.00元"
						},
						{
							"书名": "写字 同步规范字帖 RJ三年级下"
						},
						{
							"是否是套装": "否"
						},
						{
							"出版社名称": "南海出版公司"
						},
						{
							"适用学龄段": "小学通用"
						}
					]
				}
			]
		},
		"props2": [],
		"propsCut": "ISBN编号 书名 作者 科目 定价 书名 是否是套装 出版社名称 适用学龄段 ",
		"rate": {
			"invite": {
				"inviteText": "",
				"showInvite": "false"
			},
			"rateList": [
				{
					"content": "连续几年都是这里买的",
					"createTimeInterval": "3个月前",
					"dateTime": "2024-01-24",
					"feedId": "1230207142769",
					"headPic": "//sns.m.taobao.com/avatar/sns/user/flag/sns_logo?type=taobao&kn=wwc_tb_11&bizCode=taobao_avatar&userFlag=RAzN83923zmuymAyCic2dk5WxxFPH514TD4mkiTrQpobHbnge3Geq9hvVP1Wq4Yg9hvZ1SGtJPnjScHdTCZNBvMRJHohncaQFyt2gJv4Cof7aEpxBske8qFeZ9G6",
					"isVip": "true",
					"memberLevel": "9",
					"skuInfo": "适用学龄段:小学通用;科目:【2本】四年级上下册",
					"tmallMemberLevel": "4",
					"userName": "勇士Frank"
				},
				{
					"blackCardUserUrl": "//img.alicdn.com/tfs/TB1wrG1elv0gK0jSZKbXXbK2FXa-225-96.png",
					"content": "非常好,谢谢老板!",
					"createTimeInterval": "3个月前",
					"dateTime": "2024-01-25",
					"feedId": "1229812924873",
					"headPic": "//img.alicdn.com/imgextra/i4/O1CN01GbZNxl26Vzotrjqli_!!6000000007668-2-tps-160-160.png",
					"isVip": "true",
					"memberLevel": "9",
					"skuInfo": "适用学龄段:小学通用;科目:五年级下册",
					"tmallMemberLevel": "4",
					"userName": "匿名买家"
				}
			],
			"totalCount": "100+",
			"utFeedId": "1230207142769_1229812924873"
		},
		"seller": {
			"allItemCount": "1820",
			"atmophereMask": "true",
			"atmosphereColor": "#ffffff",
			"atmosphereImg": "https://img.alicdn.com/imgextra/i1/2621606610/O1CN01EhdsV81yhQavj1mfQ_!!2621606610.jpg",
			"atmosphereMaskColor": "#59000000",
			"backgroundPic": "https://img.alicdn.com/imgextra/i3/O1CN01xTAR63288IdQsnpY9_!!6000000007887-0-tps-750-750.jpg",
			"brandIcon": "//gw.alicdn.com/tfs/TB1pHLqjbH1gK0jSZFwXXc7aXXa-368-52.png?getAvatar=avatar",
			"brandIconRatio": "7.3",
			"creditLevel": "14",
			"creditLevelIcon": "//gw.alicdn.com/imgextra/i1/O1CN01VD9Iap25oweneR31D_!!6000000007574-2-tps-120-60.png",
			"entranceList": [
				{
					"action": [
						{
							"key": "open_url",
							"params": {
								"url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2621606610&item_id=525772228032&currentClickTime=-1"
							}
						},
						{
							"key": "user_track",
							"params": {
								"trackName": "Button-NewShopcard-ShopPage",
								"trackParams": {
									"spm": "a.2141.7631564.shoppage"
								}
							}
						}
					],
					"backgroundColor": "#59000000",
					"borderColor": "#59ffffff",
					"text": "进店逛逛",
					"textColor": "#ffffff"
				},
				{
					"action": [
						{
							"key": "open_url",
							"params": {
								"url": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2621606610&item_id=525772228032&shop_navi=allitems"
							}
						},
						{
							"key": "user_track",
							"params": {
								"trackName": "Button-NewShopcard-AllItem",
								"trackParams": {
									"spm": "a.2141.7631564.allitem"
								}
							}
						}
					],
					"backgroundColor": "#59000000",
					"borderColor": "#59ffffff",
					"text": "全部宝贝",
					"textColor": "#ffffff"
				}
			],
			"evaluates": [
				{
					"level": "0",
					"levelBackgroundColor": "#EEEEEE",
					"levelText": "平",
					"levelTextColor": "#999999",
					"score": "4.8 ",
					"title": "宝贝描述",
					"tmallLevelBackgroundColor": "#EEEEEE",
					"tmallLevelTextColor": "#999999",
					"type": "desc"
				},
				{
					"level": "0",
					"levelBackgroundColor": "#EEEEEE",
					"levelText": "平",
					"levelTextColor": "#999999",
					"score": "4.8 ",
					"title": "卖家服务",
					"tmallLevelBackgroundColor": "#EEEEEE",
					"tmallLevelTextColor": "#999999",
					"type": "serv"
				},
				{
					"level": "-1",
					"levelBackgroundColor": "#EEEEEE",
					"levelText": "低",
					"levelTextColor": "#999999",
					"score": "4.8 ",
					"title": "物流服务",
					"tmallLevelBackgroundColor": "#EEEEEE",
					"tmallLevelTextColor": "#999999",
					"type": "post"
				}
			],
			"evaluates2": [
				{
					"level": "0",
					"levelText": "平",
					"levelTextColor": "#f0f0f0",
					"score": "4.8 ",
					"scoreTextColor": "#ffffff",
					"title": "宝贝描述",
					"titleColor": "#ffffff",
					"type": "desc"
				},
				{
					"level": "0",
					"levelText": "平",
					"levelTextColor": "#f0f0f0",
					"score": "4.8 ",
					"scoreTextColor": "#ffffff",
					"title": "卖家服务",
					"titleColor": "#ffffff",
					"type": "serv"
				},
				{
					"level": "-1",
					"levelText": "低",
					"levelTextColor": "#f0f0f0",
					"score": "4.8 ",
					"scoreTextColor": "#ffffff",
					"title": "物流服务",
					"titleColor": "#ffffff",
					"type": "post"
				}
			],
			"fans": "4.3万",
			"fbt2User": "书乐购图书专营店",
			"goodRatePercentage": "100.00%",
			"newItemCount": "17",
			"pcShopUrl": "//shop139961029.taobao.com",
			"rankLevelPic": "//gw.alicdn.com/tfs/TB1qhTwrkUmBKNjSZFOXXab2XXa-339-60.png",
			"sellerNick": "书乐购图书专营店",
			"sellerType": "B",
			"shopCard": "掌柜近期上新17件宝贝,速览",
			"shopIcon": "//img.alicdn.com/imgextra//7c/c6/TB16_frIFXXXXbWapXXSutbFXXX.jpg",
			"shopId": "139961029",
			"shopName": "书乐购图书专营店",
			"shopTextColor": "#ffffff",
			"shopType": "B",
			"shopUrl": "tmall://page.tm/shop?item_id=525772228032&shopId=139961029",
			"shopVersion": "0",
			"showShopLinkIcon": "false",
			"simpleShopDOStatus": "1",
			"startsIcon": "https://img.alicdn.com/imgextra/i4/O1CN01tMiOur1U6OFc3CkX7_!!6000000002468-2-tps-91-14.png",
			"taoShopUrl": "//shop.m.taobao.com/shop/shop_index.htm?user_id=2621606610&item_id=525772228032",
			"useFallbackImage": "true",
			"userId": "2621606610"
		},
		"skuBase": {
			"props": [
				{
					"name": "科目",
					"pid": "7487204",
					"values": [
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN01Fm0QYi1yhQiTW09IK_!!2621606610.jpg",
							"name": "一年级上册",
							"vid": "147757162"
						},
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN018iaMUl1yhQiSKK3UZ_!!2621606610.jpg",
							"name": "一年级下册",
							"vid": "203496883"
						},
						{
							"image": "//img.alicdn.com/imgextra/i4/2621606610/O1CN014qD4mD1yhQiMA32eT_!!2621606610.jpg",
							"name": "【2本】一年级上下册",
							"vid": "2229838170"
						},
						{
							"image": "//img.alicdn.com/imgextra/i1/2621606610/O1CN014dnDSR1yhQjI6VrhB_!!2621606610.jpg",
							"name": "二年级上册",
							"vid": "73424401"
						},
						{
							"image": "//img.alicdn.com/imgextra/i4/2621606610/O1CN01JzeYUS1yhQiV1u7KU_!!2621606610.jpg",
							"name": "二年级下册",
							"vid": "73424058"
						},
						{
							"image": "//img.alicdn.com/imgextra/i4/2621606610/O1CN01rBAfD71yhQiQSEcuw_!!2621606610.jpg",
							"name": "【2本】二年级上下册",
							"vid": "14011983655"
						},
						{
							"image": "//img.alicdn.com/imgextra/i4/2621606610/O1CN01jqXz561yhQl8YD6e2_!!2621606610.jpg",
							"name": "三年级上册",
							"vid": "79872932"
						},
						{
							"image": "//img.alicdn.com/imgextra/i2/2621606610/O1CN01tUyKQG1yhQiM9pTok_!!2621606610.jpg",
							"name": "三年级下册",
							"vid": "73424673"
						},
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN01dEaYVu1yhQl931DUt_!!2621606610.jpg",
							"name": "【2本】三年级上下册",
							"vid": "14011983656"
						},
						{
							"image": "//img.alicdn.com/imgextra/i1/2621606610/O1CN01Ys85h31yhQiUUl8C0_!!2621606610.jpg",
							"name": "四年级上册",
							"vid": "101678851"
						},
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN01h4gC5u1yhQiXzsvek_!!2621606610.jpg",
							"name": "四年级下册",
							"vid": "111082321"
						},
						{
							"image": "//img.alicdn.com/imgextra/i2/2621606610/O1CN01itwrI91yhQiSQb6CI_!!2621606610.jpg",
							"name": "【2本】四年级上下册",
							"vid": "12884202866"
						},
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN01dJVPgK1yhQiV21u34_!!2621606610.jpg",
							"name": "五年级上册",
							"vid": "110150609"
						},
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN016OSJpL1yhQiTc6Nrf_!!2621606610.jpg",
							"name": "五年级下册",
							"vid": "73423542"
						},
						{
							"image": "//img.alicdn.com/imgextra/i2/2621606610/O1CN01obyo7h1yhQiV7itju_!!2621606610.jpg",
							"name": "【2本】五年级上下册",
							"vid": "12884781646"
						},
						{
							"image": "//img.alicdn.com/imgextra/i2/2621606610/O1CN01ZWsxYO1yhQl8YAYXG_!!2621606610.jpg",
							"name": "六年级上册",
							"vid": "148843344"
						},
						{
							"image": "//img.alicdn.com/imgextra/i4/2621606610/O1CN01P2uR9N1yhQiQMS3sp_!!2621606610.jpg",
							"name": "六年级下册",
							"vid": "104565591"
						},
						{
							"image": "//img.alicdn.com/imgextra/i1/2621606610/O1CN01AcSC6Z1yhQl8Zu6Pm_!!2621606610.jpg",
							"name": "【2本】六年级上下册",
							"vid": "14011983657"
						},
						{
							"image": "//img.alicdn.com/imgextra/i3/2621606610/O1CN01N7DXBh1yhQiNhLoEB_!!2621606610.jpg",
							"name": "小学生古诗词拼音",
							"vid": "2434876019"
						},
						{
							"image": "//img.alicdn.com/imgextra/i1/2621606610/O1CN01Qad79E1yhQiW7hfUe_!!2621606610.jpg",
							"name": "自选2册(下单备注书名)",
							"vid": "16795035843"
						}
					]
				},
				{
					"name": "适用学龄段",
					"pid": "210158085",
					"values": [
						{
							"name": "小学通用",
							"vid": "170720673"
						}
					]
				}
			]
		},
		"app_ver": "4.0.3-7.0",
		"_ddf": "clo",
		"app_ver_check": "ok",
		"format_check": "ok"
	},
	"error": "",
	"secache": "b19375f3a8167d09c6fe0369a086e5d6",
	"secache_time": 1714273557,
	"secache_date": "2024-04-28 11:05:57",
	"reason": "",
	"error_code": "0000"

注意:以上代码仅作为示例,实际使用时需要根据淘宝API文档进行相应的调整。

相关推荐
jokerest1237 分钟前
pwn——test_your_nc1——测试
开发语言·php
碧海蓝天202218 分钟前
接上一主题,C++14中如何设计类似于std::any,使集合在C++中与Python一样支持任意数据?
开发语言·c++·python
周杰伦fans25 分钟前
Java与C#
java·开发语言·c#
保卫大狮兄31 分钟前
销售数据分析怎么做?
数据挖掘·数据分析·crm·销售收入分析·产品销售分析
SAP学习成长之路38 分钟前
SAP 零售方案 CAR 系统的介绍与研究
大数据·开发语言·sap·abap·零售·car·bapi
亿发软件YiFaRJ41 分钟前
线上+线下≠新零售,6大互通诠释新零售的核心要点-亿发
数据分析
A_Tai23333331 小时前
MyBatis高级扩展
java·开发语言·mybatis
Lostgreen1 小时前
分布式查询处理优化之数据分片
大数据·笔记·分布式
夏子曦1 小时前
java虚拟机——频繁发生Full GC的原因有哪些?如何避免发生Full GC
java·开发语言
gogo_hua1 小时前
JVM系列之OOM观测准备
java·大数据·jvm