Alibaba(获得店铺的所有商品) API 接口

为了进行电商平台 的API开发,首先我们需要做下面几件事情。

1)开发者注册一个账号

2)然后为每个alibaba应用注册一个应用程序键(App Key) 。

3)下载alibaba API的SDK并掌握基本的API基础知识和调用

4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。

5)利用alibaba平台的文档中心和API测试工具,对接口进行测试。从而了解返回信息,方便程序获取。

以上是一般alibaba API应用开发的关键流程,其中通过alibaba文档中心和API测试工具,进行概念了解和接口信息查询很重要。因为这些数据就是我们需要在逐步显示出来的。alibaba 的API很多,不过都分为了好几个领域,慢慢就会了解深入了。

注册链接,获取Key和secret,免费测试

API示例:

{

"user": {

"zhuy": "https://sheenstar.en.alibaba.com/productlist.html",

"menu": []

},

"items": {

"item": [

{

"title": "全自动塑料薄膜包装机瓶装水收缩包装机",

"num_iid": 1600941389890,

"pic_url": "//sc04.alicdn.com/kf/Hc7e74cf21d114806af4d555b7f9190b4w/Automatic-plastic-film-wrapping-machine-shrink-packing.jpg",

"price": "$8,500.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/Automatic-plastic-film-wrapping-machine-shrink_1600941389890.html"

},

{

"title": "反渗透水过滤系统水处理机设备系统厂房",

"num_iid": 1600941278893,

"pic_url": "//sc04.alicdn.com/kf/H7f0ddfd5fe3f4a11ac54676dbe97b012x/Reverse-Osmosis-Water-Filter-System-Water-Treatment.jpg",

"price": "$18,500.00 - $20,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/Reverse-Osmosis-Water-Filter-System-Water_1600941278893.html"

},

{

"title": "450 barrels per hour 5 gallon 20 liter bottle water production line",

"num_iid": 1600941067945,

"pic_url": "//sc04.alicdn.com/kf/H077d481bd6ab4c6aa03d77de846ae1afa/450-barrels-per-hour-5-gallon-20.jpg",

"price": "$24,500.00 - $26,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/450-barrels-per-hour-5-gallon_1600941067945.html"

},

{

"title": "15000bph automatic plastic bottle mineral water pure water production line plant machinery",

"num_iid": 1600938166821,

"pic_url": "//sc04.alicdn.com/kf/H7ab295e894c14a618b076bf814733864b/15000bph-automatic-plastic-bottle-mineral-water-pure.jpg",

"price": "$24,500.00 - $25,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/15000bph-automatic-plastic-bottle-mineral-water_1600938166821.html"

},

{

"title": "热销13升1200桶/小时PET瓶纯水灌装机矿泉水灌装线工厂",

"num_iid": 1600938024940,

"pic_url": "//sc04.alicdn.com/kf/Hd83b809e8ad6491fb0de2157665f09acl/Hot-sale-13-Liter-1200-bph-PET.jpg",

"price": "$22,000.00 - $23,500.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/Hot-sale-13-Liter-1200-bph_1600938024940.html"

},

{

"title": "900 bph SUS304 full automatic mineral water 5 gallon pure water production line",

"num_iid": 1600938283465,

"pic_url": "//sc04.alicdn.com/kf/H30cb61130d494234bf5c5a8f55a05378V/900-bph-SUS304-full-automatic-mineral-water.jpg",

"price": "$9,500.00 - $10,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/900-bph-SUS304-full-automatic-mineral_1600938283465.html"

},

{

"title": "12000 bph orange juice fruit juice making processing production line plant",

"num_iid": 1600938241538,

"pic_url": "//sc04.alicdn.com/kf/H5df99f02fd66472b9dfbe61969b05ec4l/12000-bph-orange-juice-fruit-juice-making.jpg",

"price": "$13,500.00 - $15,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/12000-bph-orange-juice-fruit-juice_1600938241538.html"

},

{

"title": "12000 bph complete automatic pineapple fruit juice processing making filling line plant",

"num_iid": 1600938320419,

"pic_url": "//sc04.alicdn.com/kf/H8a5a6754c35c49e28896dac63a42b803N/12000-bph-complete-automatic-pineapple-fruit-juice.jpg",

"price": "$13,500.00 - $15,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/12000-bph-complete-automatic-pineapple-fruit_1600938320419.html"

},

{

"title": "4000 bph carbonated drink sparkling water filling packing production machine line plant",

"num_iid": 1600937423976,

"pic_url": "//sc04.alicdn.com/kf/H8b9e25a6faf74e61a4db4387c2498011z/4000-bph-carbonated-drink-sparkling-water-filling.jpg",

"price": "$23,500.00 - $24,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/4000-bph-carbonated-drink-sparkling-water_1600937423976.html"

},

{

"title": "12000bph 500ml PET bottle complete pure water mineral water bottled water production line",

"num_iid": 1600937415921,

"pic_url": "//sc04.alicdn.com/kf/H651e8f59457b4e029a8442a62110fc93f/12000bph-500ml-PET-bottle-complete-pure-water.jpg",

"price": "$11,500.00 - $13,500.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/12000bph-500ml-PET-bottle-complete-pure_1600937415921.html"

},

{

"title": "热销20000桶/小时带包装的完整饮用水生产线",

"num_iid": 1600937620301,

"pic_url": "//sc04.alicdn.com/kf/H4466505770db459d878c729ec95d5977R/Hot-sale-20000-bph-complete-drinking-water.jpg",

"price": "$45,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/Hot-sale-20000-bph-complete-drinking_1600937620301.html"

},

{

"title": "A至Z交钥匙工程矿泉水纯水灌装生产线成套装置",

"num_iid": 1600936502239,

"pic_url": "//sc04.alicdn.com/kf/H62849c225d78495a87e380f4fda9288ea/A-To-Z-Turnkey-Project-Complete-Mineral.jpg",

"price": "$11,500.00 - $13,500.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/A-To-Z-Turnkey-Project-Complete_1600936502239.html"

},

{

"title": "DXGF 24 24 8能量饮料碳酸水气泡水灌装机生产线",

"num_iid": 1600935562986,

"pic_url": "//sc04.alicdn.com/kf/Ha51899cb2df74285af2f79d309a4e064r/DXGF-24-24-8-energy-drink-carbonated.jpg",

"price": "$23,000.00 - $25,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/DXGF-24-24-8-energy-drink_1600935562986.html"

},

{

"title": "SUS304 PET瓶小企业碳酸水发泡饮料灌装机",

"num_iid": 1600935648757,

"pic_url": "//sc04.alicdn.com/kf/Ha0a3314478144937a0f86fe47ba4b6f9V/SUS304-PET-bottle-carbonated-water-sparkling-drink.jpg",

"price": "$18,500.00 - $20,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/SUS304-PET-bottle-carbonated-water-sparkling_1600935648757.html"

},

{

"title": "4000 bph carbonated beverage filling production machine line",

"num_iid": 1600935582506,

"pic_url": "//sc04.alicdn.com/kf/Haa4016fd174142419924db95760348f99/4000-bph-carbonated-beverage-filling-production-machine.jpg",

"price": "$23,500.00 - $24,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/4000-bph-carbonated-beverage-filling-production_1600935582506.html"

},

{

"title": "全自动PVC标签热缩套贴标机",

"num_iid": 1600930479707,

"pic_url": "//sc04.alicdn.com/kf/Ha6eb7ff0cb274a27a816924392998850F/Fully-Automatic-PVC-Label-heat-shrink-sleeve.jpg",

"price": "$7,500.00 - $8,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/Fully-Automatic-PVC-Label-heat-shrink_1600930479707.html"

},

{

"title": "全自动瓶装PE薄膜热隧道瓶装饮料收缩包装包装机",

"num_iid": 1600930340918,

"pic_url": "//sc04.alicdn.com/kf/H1ab0ddeb684c48d782570be90133c7f4f/Automatic-bottle-PE-film-heat-tunnel-bottled.jpg",

"price": "$8,500.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/Automatic-bottle-PE-film-heat-tunnel_1600930340918.html"

},

{

"title": "4000 bph carbonated drink soda water beer glass bottle filling and capping machine",

"num_iid": 1600930039510,

"pic_url": "//sc04.alicdn.com/kf/H558ae227f6bf45948eae3d7d0c29a5f9I/4000-bph-carbonated-drink-soda-water-beer.jpg",

"price": "$23,500.00 - $24,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/4000-bph-carbonated-drink-soda-water_1600930039510.html"

},

{

"title": "6000bph zhangjiagang glass bottle juice liquid filling and capping 3 in 1 machine manufacturer",

"num_iid": 1600930133097,

"pic_url": "//sc04.alicdn.com/kf/H3b0bf83572a64732bae31b39c4ed74ee0/6000bph-zhangjiagang-glass-bottle-juice-liquid-filling.jpg",

"price": "$10,000.00 / set",

"min_order": "1 set",

"detail_url": "https://sheenstar.en.alibaba.com//www.alibaba.com/product-detail/6000bph-zhangjiagang-glass-bottle-juice-liquid_1600930133097.html"

},

注:本帖只展示部分代码,响应参数,注册账号可免费测试或者点击头像联系"

相关推荐
Amarantine、沐风倩✨6 分钟前
设计一个监控摄像头物联网IOT(webRTC、音视频、文件存储)
java·物联网·音视频·webrtc·html5·视频编解码·七牛云存储
Kisorge32 分钟前
【C语言】指针数组、数组指针、函数指针、指针函数、函数指针数组、回调函数
c语言·开发语言
路在脚下@1 小时前
spring boot的配置文件属性注入到类的静态属性
java·spring boot·sql
森屿Serien1 小时前
Spring Boot常用注解
java·spring boot·后端
轻口味2 小时前
命名空间与模块化概述
开发语言·前端·javascript
WTT00112 小时前
2024楚慧杯WP
大数据·运维·网络·安全·web安全·ctf
苹果醋32 小时前
React源码02 - 基础知识 React API 一览
java·运维·spring boot·mysql·nginx
晓纪同学3 小时前
QT-简单视觉框架代码
开发语言·qt
威桑3 小时前
Qt SizePolicy详解:minimum 与 minimumExpanding 的区别
开发语言·qt·扩张策略
Hello.Reader3 小时前
深入解析 Apache APISIX
java·apache