• 1688商品详情(商品主图、sku)


    为了进行此平台API的调用,首先我们需要做下面几件事情。

    1、 获取一个KEY。

    2、 参考API文档里的接入方式和示例。

    3、查看测试工具是否有需要的接口,响应实例的返回字段是否符合参数要求。

    4、利用平台的文档中心和API测试工具,对接口进行测试、程序获取。

    更多API调用展示以及获取Key和secret请移步
    http://console.open.onebound.cn/console/?i=Turbo

    公共参数

    名称类型必须描述
    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=610947572360

    参数说明:num_iid:1688商品ID
    sales_data:&sales_data=1 获取近30天成交数据
    agent:&agent=1 获取1688分销代发价格数据

    响应参数

    名称类型必须示例值描述

    item

    item[]0宝贝详情数据

    num_iid

    String0610947572360宝贝ID

    title

    String0厂家直销小米有品Qin2 Pro智能手机学生机老人机备用机小爱同学4G商品标题

    desc_short

    String0商品简介

    price

    Float0799.00价格

    total_price

    Float00

    suggestive_price

    Float00

    orginal_price

    Float0799.00原价

    nick

    String0qin多亲科技卖家昵称

    num

    Int02191

    detail_url

    String0https://detail.1688.com/offer/610947572360.html宝贝链接

    pic_url

    String0https://cbu01.alicdn.com/img/ibank/2020/063/830/13235038360_979836901.jpg宝贝图片

    brand

    String0MAJE品牌

    brandId

    Int08879363品牌id

    rootCatId

    Int00顶级分类ID

    cid

    Int0124264005

    desc

    String0

    item_imgs

    Mix0item_imgs[]商品图片

    item_weight

    String0

    post_fee

    Float09.00邮费

    express_fee

    Float09.00EMS费用

    ems_fee

    Float09.00物流费用

    shipping_to

    String0广东广州白云区发货至

    video

    video[]0商品视频

    sample_id

    String0

    props_name

    String00:0:机身内存:64GB;1:0:颜色:铁灰色;1:1:颜色:瓷白色商品属性名

    prop_imgs

    prop_imgs[]0商品属性图片列表

    property_alias

    String00:0:64GB;1:0:铁灰色;1:1:瓷白色属性别名

    props

    Mix0[{"name": "品牌", "value": "other"}]商品详情

    total_sold

    Int01

    scale

    Int0

    sellUnit

    Int0

    skus

    skus[]0商品规格信息列表

    seller_id

    Int02206619673102卖家ID

    sales

    Int0100销售额

    shop_id

    Int0151372205店铺ID

    props_list

    Mix0{"0:0": "机身内存:64GB"}商品属性

    seller_info

    seller_info[]0卖家信息

    tmall

    Boolean0false是否天猫

    data_from

    String01688app错误信息

    error

    String0错误信息

    unit

    String0部;单位

    is_support_mix

    Boolean0true

    mix_amount

    Int030

    mix_Begin

    Int0

    mix_number

    Int0

    sales_data

    Date0

    location

    String0广东省 深圳市发货地

    props_img

    Mix0属性图片

    sales_info

    Mix0

    desc_img

    Mix0[{"https://cbu01.alicdn.com/img/ibank/2020/560/807/14112708065_979836901.jpg"}]详情图片列表

    shop_item

    Mix0

    relate_items

    Mix0
  • 相关阅读:
    01SpringBoot介绍
    taobao开放平台【接口调用方式介绍及返回数据结构】
    Flutter开发桌面应用的一些探索分享
    【简单的留言墙】HTML+CSS+JavaScript
    【springBoot】资源文件的变量替换
    阻塞队列BlockingQueue 源码解析(ArrayBQ和LinkedBQ)
    使用AutoJs编写UI的踩坑记录
    Linux网络编程系列之UDP广播
    flink 批处理和流式 wordcount
    23 DRF快速入门+部分源码分析
  • 原文地址:https://blog.csdn.net/weixin_44353800/article/details/127610558