首页 > 其他分享 >阿里巴巴中国站获得1688商品详情 API接口(1688开放平台合作)

阿里巴巴中国站获得1688商品详情 API接口(1688开放平台合作)

时间:2024-04-07 13:33:06浏览次数:30  
标签:name img value 开放平台 API jpg https 1688 com

1688提供了获取商品详情的API接口,具体如下:

公共参数

请求地址:​​前往测试​

公共参数

名称类型必须描述
keyString调用key(必须以GET方式拼接在URL中)
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分销代发价格数据

响应参数

Version: Date:

名称类型必须示例值描述

item

item[]0宝贝详情数据

 

响应示例

{
    "item":{
        "num_iid":601824709263,
        "title":"韩版仿兔毛围巾秋冬毛毛围巾学生毛毛绒围脖冬季女套头防寒户外",
        "desc_short":"",
        "price":"2.2",
        "total_price":0,
        "suggestive_price":0,
        "orginal_price":"2.2",
        "nick":"_sopid@BBBEbRNm7OS0uGCXPJucMBy2w",
        "num":3786174,
        "min_num":2,
        "detail_url":"https://detail.1688.com/offer/601824709263.html",
        "pic_url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg",
        "brand":"",
        "brandId":"",
        "rootCatId":0,
        "cid":325,
        "crumbs":[

        ],
        "created_time":"",
        "modified_time":"",
        "delist_time":"",
        "desc":"<div id=\"offer-template-0\"></div><div > </div>\r\n<div ><span ><strong> <span >材质:双面仿兔毛毛绒面料,</span></strong></span></div>\r\n<div ><span ><strong><span >不掉毛(不是薄薄的单面哦)</span></strong></span></div>\r\n<div ><span ><strong ><span >厚款3.39元</span></strong></span></div>\r\n<div ><span ><strong><span ><span >普通款2.38元</span></span></strong></span></div>\r\n<div ><span ><strong><span ><span >每条围巾都是独立OPP袋子包装,放心选购!</span></span></strong></span></div>\r\n<div ><span ><strong><span >现货供应,厂家直销,没有中间商赚差价,有大量可以谈价,有量有价</span></strong></span></div>\r\n<div ><span ><strong><span >(抖音,快手,直播电商福利品,天猫,淘宝,PDD,跨境电商供应商)</span></strong></span></div>\r\n<div ><strong><span ><span ><span >这款围巾是不掉毛的,有些激光高温裁剪残留的浮毛,抖抖就好了哦。</span></span></span></strong></div>\r\n<div > </div>\r\n<div ><span ><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg\" alt=\"undefined\"/><br/><strong>此图拉拉袋包装的为客户定做款(大货是OPP透明袋独立包装)</strong><br/><img  src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg\" align=\"absmiddle\"/></span></div>\r\n<div ><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg\" align=\"absmiddle\"/><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg\" align=\"absmiddle\"/></div>\r\n<div > </div>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p> </p>\r\n<div >..........</div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.65990d0ea4c43&p=1778786759&k=92716&t=1704529167\" style=\"display:none\" />",
        "desc_img":[
            "https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg",
            "https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg"
        ],
        "item_imgs":[
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11921665153_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11884953047_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"
            },
            {
                "url":"https://cbu01.alicdn.com/img/ibank/12483429103_1818272533.jpg"
            }
        ],
        "item_weight":"",
        "item_size":"",
        "location":"浙江省 金华市",
        "post_fee":"",
        "express_fee":"",
        "ems_fee":"",
        "shipping_to":"",
        "has_discount":"",
        "video":"https://cloud.video.taobao.com/play/u/2206475177847/p/1/e/6/t/1/238604472723.mp4",
        "is_virtual":"",
        "sample_id":"",
        "is_promotion":"",
        "props_name":"0:0:颜色:红色;0:1:颜色:黑色;0:2:颜色:白色;0:3:颜色:灰色;0:4:颜色:杏色;0:5:颜色:粉色;0:6:颜色:咖啡色;0:7:颜色:米色;0:8:颜色:卡其色",
        "prop_imgs":{
            "prop_img":[
                {
                    "properties":"0:0",
                    "url":"https://cbu01.alicdn.com/img/ibank/11884977080_1818272533.jpg"
                },
                {
                    "properties":"0:1",
                    "url":"https://cbu01.alicdn.com/img/ibank/11954549680_1818272533.jpg"
                },
                {
                    "properties":"0:2",
                    "url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"
                },
                {
                    "properties":"0:3",
                    "url":"https://cbu01.alicdn.com/img/ibank/11921680795_1818272533.jpg"
                },
                {
                    "properties":"0:4",
                    "url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"
                },
                {
                    "properties":"0:5",
                    "url":"https://cbu01.alicdn.com/img/ibank/11921689268_1818272533.jpg"
                },
                {
                    "properties":"0:6",
                    "url":"https://cbu01.alicdn.com/img/ibank/11954552765_1818272533.jpg"
                },
                {
                    "properties":"0:7",
                    "url":"https://cbu01.alicdn.com/img/ibank/O1CN01PtW77W27pyekEhcAt_!!2206475177847-0-cib.jpg"
                },
                {
                    "properties":"0:8",
                    "url":"https://cbu01.alicdn.com/img/ibank/O1CN01t2Q1ci27pyjXB0fxo_!!2206475177847-0-cib.jpg"
                }
            ]
        },
        "property_alias":"0:0:红色;0:1:黑色;0:2:白色;0:3:灰色;0:4:杏色;0:5:粉色;0:6:咖啡色;0:7:米色;0:8:卡其色",
        "props":[
            {
                "name":"品牌",
                "value":"高着"
            },
            {
                "name":"编织方法",
                "value":"经编"
            },
            {
                "name":"功能",
                "value":"保暖"
            },
            {
                "name":"适合季节",
                "value":"冬季"
            },
            {
                "name":"货号",
                "value":"WJ618"
            },
            {
                "name":"产地",
                "value":"浙江义乌"
            },
            {
                "name":"款式",
                "value":"中长"
            },
            {
                "name":"颜色",
                "value":"红色"
            },
            {
                "name":"颜色",
                "value":"黑色"
            },
            {
                "name":"颜色",
                "value":"白色"
            },
            {
                "name":"颜色",
                "value":"灰色"
            },
            {
                "name":"颜色",
                "value":"杏色"
            },
            {
                "name":"颜色",
                "value":"粉色"
            },
            {
                "name":"颜色",
                "value":"咖啡色"
            },
            {
                "name":"颜色",
                "value":"米色"
            },
            {
                "name":"颜色",
                "value":"卡其色"
            },
            {
                "name":"主要下游平台",
                "value":"淘宝"
            },
            {
                "name":"主要下游平台",
                "value":"京东"
            },
            {
                "name":"主要下游平台",
                "value":"ebay"
            },
            {
                "name":"主要下游平台",
                "value":"亚马逊"
            },
            {
                "name":"主要下游平台",
                "value":"wish"
            },
            {
                "name":"主要下游平台",
                "value":"快手"
            },
            {
                "name":"主要下游平台",
                "value":"速卖通"
            },
            {
                "name":"主要下游平台",
                "value":"天猫"
            },
            {
                "name":"主要下游平台",
                "value":"独立站"
            },
            {
                "name":"主要下游平台",
                "value":"LAZADA"
            },
            {
                "name":"主要下游平台",
                "value":"拼多多"
            },
            {
                "name":"主要下游平台",
                "value":"抖音"
            },
            {
                "name":"有可授权的自有品牌",
                "value":"否"
            },
            {
                "name":"是否跨境出口专供货源",
                "value":"是"
            },
            {
                "name":"上市年份/季节",
                "value":"2021年秋季"
            },
            {
                "name":"宽度(CM)",
                "value":"12cm"
            },
            {
                "name":"风格",
                "value":"百搭"
            },
            {
                "name":"风格",
                "value":"优雅"
            },
            {
                "name":"风格",
                "value":"极简"
            },
            {
                "name":"风格",
                "value":"休闲风"
            },
            {
                "name":"风格",
                "value":"时尚OL"
            },
            {
                "name":"风格",
                "value":"简约"
            },
            {
                "name":"风格",
                "value":"欧美"
            },
            {
                "name":"风格",
                "value":"轻奢风"
            },
            {
                "name":"风格",
                "value":"chic风"
            },
            {
                "name":"风格",
                "value":"高级感"
            },
            {
                "name":"面料名称",
                "value":"毛绒"
            },
            {
                "name":"风格分类",
                "value":"时尚通勤"
            },
            {
                "name":"处理工艺",
                "value":"经编"
            },
            {
                "name":"流行元素分类",
                "value":"无"
            }
        ],
        "total_sold":3786174,
        "skus":{
            "sku":[
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:0",
                    "properties_name":"0:0:颜色:红色",
                    "quantity":0,
                    "sku_id":5330445855404,
                    "spec_id":"87b07b1e746bd546e97a0f5888726ae3"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:1",
                    "properties_name":"0:1:颜色:黑色",
                    "quantity":0,
                    "sku_id":5330445855410,
                    "spec_id":"e664b2e7c4adae52d35767f51a9219f6"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:2",
                    "properties_name":"0:2:颜色:白色",
                    "quantity":0,
                    "sku_id":5330445855398,
                    "spec_id":"18dc5ba8c7dc3df0eb8b731977df2372"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:3",
                    "properties_name":"0:3:颜色:灰色",
                    "quantity":8020,
                    "sku_id":5330445855408,
                    "spec_id":"05808df6001a6ffa6fa13ae7df588b36"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:4",
                    "properties_name":"0:4:颜色:杏色",
                    "quantity":0,
                    "sku_id":5330445855412,
                    "spec_id":"1ab2b4cd3cc2b51ed4055978ca4b8579"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:5",
                    "properties_name":"0:5:颜色:粉色",
                    "quantity":0,
                    "sku_id":5330445855402,
                    "spec_id":"7a394d5d7d8560fae263cd2ffe9ee444"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:6",
                    "properties_name":"0:6:颜色:咖啡色",
                    "quantity":0,
                    "sku_id":5330445855396,
                    "spec_id":"423651c0792f75de75484ae9bd5fe535"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:7",
                    "properties_name":"0:7:颜色:米色",
                    "quantity":0,
                    "sku_id":5330445855400,
                    "spec_id":"45b9c574ac45662aba79f2cb72d20112"
                },
                {
                    "price":4.99,
                    "total_price":4.99,
                    "orginal price":4.99,
                    "properties":"0:8",
                    "properties_name":"0:8:颜色:卡其色",
                    "quantity":0,
                    "sku_id":5330445855406,
                    "spec_id":"f7931f4b9892a8c41b76205cb1d50627"
                }
            ]
        },
        "seller_id":null,
        "sales":0,
        "shop_id":null,
        "props_list":{
            "0:0":"颜色:红色",
            "0:1":"颜色:黑色",
            "0:2":"颜色:白色",
            "0:3":"颜色:灰色",
            "0:4":"颜色:杏色",
            "0:5":"颜色:粉色",
            "0:6":"颜色:咖啡色",
            "0:7":"颜色:米色",
            "0:8":"颜色:卡其色"
        },
        "seller_info":{
            "nick":null,
            "user_num_id":null,
            "sid":null,
            "title":null,
            "zhuy":null,
            "shop_name":null
        },
        "tmall":"false",
        "error":"",
        "warning":"",
        "url_log":[

        ],
        "unit":null,
        "is_support_mix":null,
        "mix_amount":null,
        "mix_begin":null,
        "mix_number":null,
        "priceRange":[
            [
                2,
                "2.2"
            ]
        ],
        "priceRangeOriginal":[

        ],
        "_ddf":"sop",
        "props_img":{
            "0:0":"https://cbu01.alicdn.com/img/ibank/11884977080_1818272533.jpg",
            "0:1":"https://cbu01.alicdn.com/img/ibank/11954549680_1818272533.jpg",
            "0:2":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg",
            "0:3":"https://cbu01.alicdn.com/img/ibank/11921680795_1818272533.jpg",
            "0:4":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg",
            "0:5":"https://cbu01.alicdn.com/img/ibank/11921689268_1818272533.jpg",
            "0:6":"https://cbu01.alicdn.com/img/ibank/11954552765_1818272533.jpg",
            "0:7":"https://cbu01.alicdn.com/img/ibank/O1CN01PtW77W27pyekEhcAt_!!2206475177847-0-cib.jpg",
            "0:8":"https://cbu01.alicdn.com/img/ibank/O1CN01t2Q1ci27pyjXB0fxo_!!2206475177847-0-cib.jpg"
        },
        "sales_info":{
            "seller_num":"",
            "repeat_rate_purchase":"",
            "per_capita_purchases":"",
            "comment_num":"",
            "comment_url":""
        },
        "format_check":"ok",
        "shop_item":[

        ],
        "relate_items":[

        ]
    },
    "error":"",
    "secache":"a1950f8cc13611671db129a5c7ae864a",
    "secache_time":1704529167,
    "secache_date":"2024-01-06 16:19:27",
    "translate_status":"",
    "translate_time":0,
    "language":{
        "default_lang":"cn",
        "current_lang":"cn"
    },
    "reason":"",
    "error_code":"0000",
    "cache":0,
    "api_info":"today:28 max:10000 all[28=28+0+0];expires:2024-05-30",
    "execution_time":"0.342",
    "server_time":"Beijing/2024-01-06 16:19:27",
    "client_ip":"106.6.33.199",
    "call_args":{
        "num_iid":"601824709263"
    },
    "api_type":"1688",
    "server_memory":"0.92MB",
    "request_id":"gw-4.65990d0ea4c43",
    "last_id":"2436414138"
}

异常示例

{
  "error": "item-not-found",
  "reason": "商品没找到",
  "error_code": "2000",
  "success": 0,
  "cache": 0,
  "api_info": "today:0 max:10000",
  "execution_time": 0.081,
  "server_time": "Beijing/2020-06-10 23:44:00",
  "call_args": [],
  "api_type": "1688",
  "request_id": "15ee0ffc041242"
}

相关资料

错误码解释

状态代码(error_code)状态信息详细描述是否收费
0000success接口调用成功并返回相关数据
2000Search success but no result接口访问成功,但是搜索没有结果
4000Server internal error服务器内部错误
4001Network error网络错误
4002Target server error目标服务器错误
4003Param error用户输入参数错误忽略
4004Account not found用户帐号不存在忽略
4005Invalid authentication credentials授权失败忽略
4006API stopped您的当前API已停用忽略
4007Account stopped您的账户已停用忽略
4008API rate limit exceeded并发已达上限忽略
4009API maintenanceAPI维护中忽略
4010API not found with these valuesAPI不存在忽略
4012Please add api first请先添加api忽略
4013Number of calls exceeded调用次数超限忽略
4014Missing url param参数缺失忽略
4015Wrong pageToken参数pageToken有误忽略
4016Insufficient balance余额不足忽略
4017timeout error请求超时
5000unknown error未知错误

 

标签:name,img,value,开放平台,API,jpg,https,1688,com
From: https://blog.csdn.net/API_18870278351/article/details/137460637

相关文章

  • 淘宝天猫商品详情页全页数据抓取API接口(商品价格库存销量商品主图)
    淘宝天猫商品详情页全页数据抓取API接口(商品价格库存销量商品主图)的主要功能包括但不限于:商品详情获取:API接口能够抓取淘宝天猫商品详情页的全页数据,包括商品的价格、库存、销量以及商品主图等关键信息。数据更新与同步:通过定期调用API接口,可以实时获取最新的商品数据,保持数据......
  • kube-apiserver限流机制原理
    Kubernetes的kube-apiserver组件提供了一种限流机制来保护API服务器不会因为过多的请求而过载。这是通过几种机制实现的,包括基于速率的限流(RBAC)和基于并发连接数的限流。基于速率的限流:kube-apiserver可以配置为限制来自每个用户的请求速率。这是通过--basic-auth-file参......
  • kube-apiserver限流机制原理
    本文分享自华为云社区《kube-apiserver限流机制原理》,作者:可以交个朋友。背景apiserver是kubernetes中最重要的组件,一旦遇到恶意刷接口或请求量超过承载范围,apiserver服务可能会崩溃,导致整个kubernetes集群不可用。所以我们需要对apiserver做限流处理来提升kubernetes的健壮性。......
  • Linux进程API接口功能介绍和使用方法
    目录概述1进程基本操作1.1fork函数1.2终止进程1.3exec族函数1.4wait函数1.5守护进程2使用进程相关API的范例2.1创建进程2.1.1功能介绍2.1.2编写代码2.1.3运行结果2.2等待退出函数2.2.1功能介绍2.2.2编写代码2.2.3运行结果2.3使用守护进程2......
  • ISBN信息查询api接口
     基本说明:接口地址:http://data.isbn.work/openApi/getInfoByIsbn?isbn={isbn}&appKey={appkey}返回格式:json请求方式:get请求示例:http://data.isbn.work/openApi/getInfoByIsbn?isbn=9787513159074&appKey=ae1718d4587744b0b79f940fbef69e77伽薇 809137232请求参数说明:名......
  • 常用API(一):1.JDK8新增的时间 2.LocalDate 3.LocalTime 4.LocalDateTime
    1.JDK8新增的时间    2.  3.LocalTime: 2.LocalDate:packagecom.itheima.新时间API;importjava.time.LocalDate;publicclassa{publicstaticvoidmain(String[]args){//0.获取本地日期对象(不可变对象)LocalDateld=LocalD......
  • 办税日历API数据
    征抄报税的日期各有不同,要在自己的应用中获取12366提供的办税日历数据,可以打开开发者模式,对页面源码进行分析。办税日历链接:https://12366.chinatax.gov.cn/bsfw/calendar/getCalendarListForDay 这段源码的含义是,根据不同的区域,获得相应的代码:varheaderTargetAreaMap={......
  • 前端全栈echarts实时制作。node.js写后端api接口。
    首先先介绍一下我这个实时可视化的流程:先写后端→写html网页结构→echarts画图→获取api接口数据→做实时可视化。总体来说就是要做一个实时可视化。不说怎么多了我直接开始操作,这次可能不会一下全部写完,但后面会接着继续完善此博客呢。一:node.js写api接口非常的简单,直接一......
  • 常用API(一):秒杀活动 Calendar
    packagecom.itheima.秒杀活动;importjava.text.ParseException;importjava.text.SimpleDateFormat;importjava.util.Date;publicclassaa{publicstaticvoidmain(String[]args)throwsParseException{Stringstart="2023年11月11日0:0:0";......
  • 常用API(一):Date SimpleDateFormat
       packagecom.itheima.日期;importjava.text.ParseException;importjava.text.SimpleDateFormat;importjava.util.Date;publicclassdate{publicstaticvoidmain(String[]args)throwsParseException{Dated=newDate();System.out.pr......