首页 > 其他分享 >电商API数据接口1688alibaba接口item_search_shop-获得店铺的所有商品接入演示

电商API数据接口1688alibaba接口item_search_shop-获得店铺的所有商品接入演示

时间:2024-09-27 11:23:19浏览次数:13  
标签:shop null url price 接口 num https 电商 com

一、接口功能

item_search_shop接口是1688阿里巴巴提供的获取店铺所有商品的API接口,用户可以通过输入店铺ID,获取该店铺的所有商品信息。

二、接口调用

请求参数:seller_nick=b2b-2200733087881719de&start_price=0&end_price=0&q=&page=1&cid=

参数说明:seller_nick:sid或者加密后的_sopid:_sopid@BBBSvyqimnYtLnmm90B_59dsg(详情接口可返回nick参数) sort:排序[bid,_bid,_sale,_credit] (bid:总价(升序)_bid:总价(降序),sale:销量,默认综合排序,time:新品) sort=new为店铺上新数据,格式不统一,请注意 page:页数

响应参数

电商API数据接口1688alibaba接口item_search_shop-获得店铺的所有商品接入演示_html

三、示例代码

以下是一个使用Python调用item_search_shop接口的示例代码:

{
	"user": {
		"id": null,
		"nick": null,
		"good_num": null,
		"level": null,
		"created": null,
		"shop_type": null,
		"user_num_id": null,
		"company_id": null,
		"company_dj": null,
		"company_time": null,
		"company_info": null,
		"cid": "-1",
		"sid": null,
		"pic_url": null,
		"video": null,
		"title": null,
		"address": null,
		"phone": null,
		"zhuy": "./page/contactinfo.htm",
		"fh_score": null,
		"hm_score": null,
		"xy_score": null,
		"ht_score": null,
		"menu": null
	},
	"items": {
		"item": [
			{
				"num_iid": "629206406356",
				"title": "天语欧博信米图手机X27S Mate30 P40 Pro个性简约时尚手机壳批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/782/417/21694714287_2101792098.jpg",
				"price": "19.9",
				"detail_url": "https://m.1688.com/offer/629206406356.html"
			},
			{
				"num_iid": "606991177049",
				"title": "大容量10000毫安全新爆款移动电源自带线充电宝礼品厂家直销",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/517/800/12487008715_2101792098.jpg",
				"price": "39.9",
				"detail_url": "https://m.1688.com/offer/606991177049.html"
			},
			{
				"num_iid": "603067013582",
				"title": "P3跨境新爆款现货6.5寸水滴大屏全网通4G智能手机海外代发OEM定制",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/492/814/12111418294_2101792098.jpg",
				"price": "52.0",
				"detail_url": "https://m.1688.com/offer/603067013582.html"
			},
			{
				"num_iid": "613515982791",
				"title": "5.8寸大屏工作室root纯净版2+16G云群控抖音快手微信手机OEM批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/270/438/13682834072_2101792098.jpg",
				"price": "66.0",
				"detail_url": "https://m.1688.com/offer/613515982791.html"
			},
			{
				"num_iid": "637339319017",
				"title": "P40 Pro品牌爆款6.5寸水滴大屏8+256G全网通5G安卓智能手机批代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/278/368/16085863872_2101792098.jpg",
				"price": "298.0",
				"detail_url": "https://m.1688.com/offer/637339319017.html"
			},
			{
				"num_iid": "632168014097",
				"title": "新款30pro 7.5寸水滴大屏8+256G全网通5G低价智能手机正品代批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/048/299/12073992840_2101792098.jpg",
				"price": "298.0",
				"detail_url": "https://m.1688.com/offer/632168014097.html"
			},
			{
				"num_iid": "624579363633",
				"title": "mate30 pro新款6.5英寸水滴大屏8+256G全网通5G低价智能手机批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/285/407/17053704582_2101792098.jpg",
				"price": "298.0",
				"detail_url": "https://m.1688.com/offer/624579363633.html"
			},
			{
				"num_iid": "624015201074",
				"title": "新款X27 6.5寸全面水滴大屏8+128G全网通5G安卓智能手机批代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/469/649/11428946964_2101792098.jpg",
				"price": "298.0",
				"detail_url": "https://m.1688.com/offer/624015201074.html"
			},
			{
				"num_iid": "634673693747",
				"title": "真新款mate40 pro 7.2寸水滴大屏8+256G全网通5G低价智能手机批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01vYUdfL1ZrAfnyJVZy_!!6000000003247-0-cib.jpg",
				"price": "299.0",
				"detail_url": "https://m.1688.com/offer/634673693747.html"
			},
			{
				"num_iid": "634599513272",
				"title": "新款mate40 pro 7.2寸水滴大屏10+256G全网通5G低价智能手机批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01hXorlV24Cdi8vAod4_!!6000000007355-0-cib.jpg",
				"price": "299.0",
				"detail_url": "https://m.1688.com/offer/634599513272.html"
			},
			{
				"num_iid": "589766232746",
				"title": "新款X27 6.5寸全面水滴大屏8+128G全网通5G安卓智能手机批代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/976/670/13387076679_2101792098.jpg",
				"price": "308.0",
				"detail_url": "https://m.1688.com/offer/589766232746.html"
			},
			{
				"num_iid": "636684457600",
				"title": "爆款hviv mate30 pro6.8寸水滴大屏256G全网通低价智能手机批代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/610/814/19520418016_2101792098.jpg",
				"price": "398.0",
				"detail_url": "https://m.1688.com/offer/636684457600.html"
			},
			{
				"num_iid": "622583886323",
				"title": "爆款Hviv Mate40Pro+6.8寸水滴大屏512G全网通低价智能手机批代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01O9vUUY285Y3UOWbWL_!!2200733087881-0-cib.jpg",
				"price": "399.0",
				"detail_url": "https://m.1688.com/offer/622583886323.html"
			},
			{
				"num_iid": "589984649469",
				"title": "6.5寸大屏安卓9.0工作室root纯净版4+64G云群控抖音快手阅读手机",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/242/368/10339863242_902098348.jpg",
				"price": "469.0",
				"detail_url": "https://m.1688.com/offer/589984649469.html"
			},
			{
				"num_iid": "617854475887",
				"title": "电视话购物工作室root纯净版4+64G云群控抖音快手微信手机OEM批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/382/361/12287163283_2101792098.jpg",
				"price": "698.0",
				"detail_url": "https://m.1688.com/offer/617854475887.html"
			},
			{
				"num_iid": "624494524174",
				"title": "爆款hviv mate30 pro6.8寸水滴大屏256G全网通低价智能手机批代发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/876/517/19593715678_2101792098.jpg",
				"price": "998.0",
				"detail_url": "https://m.1688.com/offer/624494524174.html"
			},
			{
				"num_iid": "630981381989",
				"title": "品牌P40 Pro+7.5寸水滴大屏10+256G全网通低价智能手机正品代批发",
				"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/062/412/20219214260_2101792098.jpg",
				"price": "1199.0",
				"detail_url": "https://m.1688.com/offer/630981381989.html"
			}
		],
		"total_results": "17",
		"page_size": 20,
		"pagecount": 1,
		"page": "1",
		"url": null
	},
	"error": "",
	"secache": "3bbcb618f225b45561bbb1686d15b91c",
	"secache_time": 1615280560,
	"secache_date": "2021-03-09 17:02:40",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"reason": "",
	"error_code": "0000"

请将上述代码中的api_key和api_secret替换为您的应用的api_key和api_secret,将shop_id替换为您要查询的店铺ID。

标签:shop,null,url,price,接口,num,https,电商,com
From: https://blog.51cto.com/u_17005080/12127353

相关文章

  • TS 中的接口和继承
    接口概念:接口主要是做类型规范约束,在进行传值的时候必须按照接口规范类型接口语法:interface接口名{xxx}例:interfacePerson{name:string}//定义一个接口此处定义规范interfaceIPerson{firstName:string//姓氏lastName:......
  • 玄空飞星 九宫飞星 api接口
    所谓的玄空飞星,其实是一种以理气为主的风水堪舆学说,这种风水学说讲究的是风水随着时间推移的变化,我们研究玄空风水,就是要根据这种变化去改造风水。接口名称:风水-玄空飞星接口平台:https://doc.yuanfenju.com/fengshui/xuankong.html接口地址:https://api.yuanfenju.com/index.php......
  • AI数字人直播成为跨境电商领域新风口!
    近年来,人工智能(AI)技术在各个领域的发展突飞猛进,特别是在跨境电商领域的应用。其中,AI数字人直播凭借其独特的优势,正逐渐成为未来的新风口。这一趋势不仅为跨境电商带来了新的机遇,也为商家和消费者创造了更多的价值。什么是AI数字人直播?AI数字人直播指的是利用人工智能技术......
  • 电商 API 接口:电商领域的强大技术引擎
    在当今汹涌的数字化浪潮之下,电子商务的迅猛演进对技术的要求不断攀升。电商API接口,犹如连接不同系统与服务平台的坚固桥梁,已然成为电商市场中至关重要的技术引擎。接下来,我们将深入探究电商API接口的核心价值及其在电商市场中的关键应用。电商API接口概览API(应用程序编......
  • 【dify解析】插件接口解析
    安装插件调用的接口:2024-09-2615:45:44.342INFO[Thread-89(process_request_thread)][_internal.py:97]-127.0.0.1--[26/Sep/202415:45:44]"OPTIONS/console/api/workspaces/current/tool-provider/builtin/azuredalle/updateHTTP/1.1"200-2024-09-2615:......
  • D18【python接口自动化学习】-python基础之内置数据类型
    day18综合练习:实现手机通讯录(下)学习日期:20240925学习目标:内置数据类型--27小试牛刀:如何使用类型转换实现手机通讯录(下)学习笔记:实现手机通讯录案例文件withopen('27-demo.csv')asf:file_data=f.readlines()print(file_data)#[',张三,同事,13511112222\n......
  • java使用webservice 调用天气预报接口
    市场上有许多免费的和付费的天气预报API,例如OpenWeatherMap、WeatherAPI、Weatherstack等。这里我们以OpenWeatherMap为例,因为它提供了广泛的天气数据和相对简单的API接口。访问OpenWeatherMap的官网(https://openweathermap.org/) ,注册一个账户,并创建一个API密钥(APIkey)。这个密钥将......
  • 论JAVA 两种“对象比较接口“的区别
    前言总所周知,java对象的比较有三种方式 最简单的是可以调用equals().因为这个方法定义在Object类中,而我们的类都继承了Object类.所以我们自己定义的类都可以使用这个方法.除此以外还有两个比较接口,可以通过实现他们的某些方法比较我们的对象他们是 Comparable和Co......
  • 7-2 jmu-Java-04面向对象进阶-01-接口-Comparable
    编写实现Comparable接口的PersonSortable类,使其按name以及age排序1.编写PersonSortable类属性:privatename(String)、privateage(int)有参构造函数:参数为name,agetoString函数:返回格式为:name-age实现Comparable接口:实现先对name升序排序,如果name相同则对age进行升序排序......
  • 激活电商数据中台:构建数据飞轮促进业务增长和用户挽回
    在当今电子商务的激烈竞争环境中,企业如何通过有效利用数据资源以推动业务增长和用户挽回,这已成为一个至关重要的问题。数据中台作为集成和处理企业数据的核心枢纽,其潜力往往未被充分挖掘。如何有效地唤醒数据中台中的“沉睡数据”,建立数据与业务之间的正反馈循环(即“数据飞轮”),是电......