1688 item_get-获得1688商品详情
为了进行电商平台 的API开发,首先我们需要做下面几件事情。
1)开发者注册一个账号
2)然后为每个1688 应用注册一个应用程序键(App Key) 。
3)下载1688 API的SDK并掌握基本的API基础知识和调用
4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。
5)利用1688 平台的文档中心和API测试工具,对接口进行测试。从而了解返回信息,方便程序获取。
以上是一般1688 API应用开发的关键流程,其中通过1688文档中心和API测试工具,进行概念了解和接口信息查询很重要。因为这些数据就是我们需要在逐步显示出来的。1688的API很多,不过都分为了好几个领域,慢慢就会了解深入了。
注册链接,获取Key和secret,免费测试
API示例:
{
"item": {
"num_iid": "659739935946",
"title": "可爱毛线针织樱桃发夹韩国花朵手工编织侧边夹女饰品发饰批发头饰",
"desc_short": "",
"price": "1.25",
"total_price": 0,
"suggestive_price": 0,
"orginal_price": "1.25",
"nick": "义乌市臻饰电子商务商行实力供应商",
"num": "36300239",
"min_num": "2",
"detail_url": "https://detail.1688.com/offer/659739935946.html",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01JHtru31Y9pdutLpCg_!!3938133017-0-cib.jpg",
"brand": "",
"brandId": "",
"rootCatId": "54",
"cid": "122722001",
"crumbs": [],
"created_time": "",
"modified_time": "",
"delist_time": "",
"desc": "

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n


",
"desc_img": [
"http://cbu01.alicdn.com/img/ibank/O1CN014tsrLG1Y9plENBMSG_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01KpyMF81Y9plEN9cKt_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01Q8epEd1Y9pl8ag9LX_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01szRYWb1Y9plBR4otD_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01Zu8bCq1Y9pl2brhuM_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01JRVKLD1Y9plBQ1pd1_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01k3OEeb1Y9plFgICmN_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01KCIwiH1Y9plBnKIra_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01h3TnQx1Y9plJF8g0R_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01GJ08791Y9pl2bqljC_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01Ecr6aV1Y9plCrIbIr_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01FW6f3F1Y9plHHEgM7_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01snQ1dZ1Y9plBnKq6e_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01IvFoiA1Y9plHHEDEM_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01yerVhh1Y9pl7JPdol_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01sKU8PZ1Y9plJF4if5_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01EykQnK1Y9plCrHvjK_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01wdFY8U1Y9plHHE95q_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01qrHIhM1Y9plGkRqjk_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01lQ6CHS1Y9plCrJbhB_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01ZQTBRq1Y9plJF8oK5_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN01M5Vdtj1Y9plBnLqTJ_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN018Ezw7V1Y9plHHCXIV_!!3938133017-0-cib.jpg",
"http://cbu01.alicdn.com/img/ibank/O1CN018Ezw7V1Y9plHHCXIV_!!3938133017-0-cib.jpg"
],
"item_imgs": [
{
"url": "https://cbu01.alicdn.com/img/ibank/O1CN01JHtru31Y9pdutLpCg_!!3938133017-0-cib.jpg"


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