API(Application Programming Interface),应用程序编程接口,Java API是一本程序员的字典。是JDK中提供给我们使用的类的说明文档。
API是jdk提供的各种功能的java类。
这些类将底层的代码实现封装了起来,我们呢不需要这些类是如何实现的,只需要学习这些类如何使用即可。所以我们可通过查询API的方式,来学习Java提供的类,并得知如果使用它们。
API的使用步骤:
所谓的API就是好多类好多方法,jdk提供了一些现成的类,可以直接俄拿过来使用,这些类是现成提供给我们,直接拿来使用的类,他们都叫做API。
API文档:告诉我们到底只有哪些类是现成的,到底有哪些方法具有各自怎样的功能,这个样的一份说明说就叫做API文档。
{
"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,
"profile_data": null,
"cid": "-1",
"sid": null,
"pic_url": null,
"video": null,
"title": null,
"address": null,
"phone": null,
"tel": null,
"zhuy": "https://m.1688.com/winport/.html",
"fh_score": null,
"hm_score": null,
"xy_score": null,
"ht_score": null,
"menu": null,
"service_score": null,
"tplogo": null,
"ratelogourl": null,
"tpyear": null,
"bsrdata": null
},
"items": {
"item": [
{
"num_iid": "605722027272",
"title": "全新款i12 pro 6.5寸水滴大屏8+256G全网通5G低价智能手机批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ph7Tcf285Y4oYOwel_!!2200733087881-0-cib.jpg",
"price": "598.0",
"detail_url": "https://m.1688.com/offer/605722027272.html"
},
{
"num_iid": "651472472704",
"title": "全新款i13 pro 6.8寸水滴大屏10+512G全网通5G低价智能手机批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01jB7zEO285Y8dRoOIo_!!2200733087881-0-cib.jpg",
"price": "688.0",
"detail_url": "https://m.1688.com/offer/651472472704.html"
},
{
"num_iid": "664797493611",
"title": "2022爆款X50 Pro 7.2寸水滴大屏12+512G全网通低价智能手机批代发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN014ObCis285Y8NNEYcX_!!2200733087881-0-cib.jpg",
"price": "1098.0",
"detail_url": "https://m.1688.com/offer/664797493611.html"
},
{
"num_iid": "669171703088",
"title": "2022i新款Pad Pro12寸护眼屏512G全网通学习网课游戏平板电脑批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01GO9d0B285Y8OzdfUa_!!2200733087881-0-cib.jpg",
"price": "669.0",
"detail_url": "https://m.1688.com/offer/669171703088.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": "671011848381",
"title": "爆款i13 Pro Max 6.8寸水滴大屏12+512G全网通低价智能手机批代发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01D3FIFx285Y8vs2ccX_!!2200733087881-0-cib.jpg",
"price": "798.0",
"detail_url": "https://m.1688.com/offer/671011848381.html"
},
{
"num_iid": "674669410768",
"title": "iPadPro学习游戏平板电脑适用华为荣耀苹果oppo小米vivo联想耳机",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01n1XRDd285Y9J3E11N_!!2200733087881-0-cib.jpg",
"price": "858.0",
"detail_url": "https://m.1688.com/offer/674669410768.html"
},
{
"num_iid": "676609617200",
"title": "X50Pro全网通游戏智能手机批发适用华为荣耀苹果oppo小米vivo耳机",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN014ObCis285Y8NNEYcX_!!2200733087881-0-cib.jpg",
"price": "1098.0",
"detail_url": "https://m.1688.com/offer/676609617200.html"
},
{
"num_iid": "673946891188",
"title": "i13 mini 4.5寸小巧屏迷你512G初高中小学生儿童卡片智能手机批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01PUd7iT285Y9E6F3Je_!!2200733087881-0-cib.jpg",
"price": "699.0",
"detail_url": "https://m.1688.com/offer/673946891188.html"
},
{
"num_iid": "672901064156",
"title": "i13 mini 戒网瘾小学初高中生课本同步学习点读卡片智能手机批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01Lfjrwc285Y95mtLv0_!!2200733087881-0-cib.jpg",
"price": "699.0",
"detail_url": "https://m.1688.com/offer/672901064156.html"
},
{
"num_iid": "617854475887",
"title": "电视话购物工作室root纯净版4+64G云群控抖音快手微信手机批发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/2019/382/361/12287163283_2101792098.jpg",
"price": "479.0",
"detail_url": "https://m.1688.com/offer/617854475887.html"
},
{
"num_iid": "677917668805",
"title": "手机代发",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01m4ybLC285Y8iIpLVD_!!2200733087881-0-cib.jpg",
"price": "669.0",
"detail_url": "https://m.1688.com/offer/677917668805.html"
},
{
"num_iid": "643409643576",
"title": "7.2寸大屏安卓9.0工作室root纯净版4+64G云群控抖音快手阅读手机",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01ihHuZh285Y4EzmyDU_!!2200733087881-0-cib.jpg",
"price": "499.0",
"detail_url": "https://m.1688.com/offer/643409643576.html"
},
{
"num_iid": "677262389462",
"title": "智能手机应对处理芳香精心决狗",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01vTObMp285Y3Ilnu1Q_!!2200733087881-0-cib.jpg",
"price": "1538.0",
"detail_url": "https://m.1688.com/offer/677262389462.html"
},
{
"num_iid": "642720097254",
"title": "6.8寸大屏安卓10工作室root纯净版4+128G云群控抖音快手阅读手机",
"pic_url": "https://cbu01.alicdn.com/img/ibank/2020/863/803/18762308368_2101792098.jpg",
"price": "559.0",
"detail_url": "https://m.1688.com/offer/642720097254.html"
},
{
"num_iid": "642336696924",
"title": "7.2寸大屏安卓10工作室root纯净版4+128G云群控抖音快手阅读手机",
"pic_url": "https://cbu01.alicdn.com/img/ibank/O1CN01p7hEkW285Y7sZqf9A_!!2200733087881-0-cib.jpg",
"price": "669.0",
"detail_url": "https://m.1688.com/offer/642336696924.html"
}
],
"total_results": "16",
"page_size": 20,
"pagecount": 1,
"page": "1",
"url": null
},
"error": "",
"secache": "3bbcb618f225b45561bbb1686d15b91c",
"secache_time": 1658717844,
"secache_date": "2022-07-25 10:57:24",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:76 max:10100 all[104=76+10+18];expires:2030-12-31",
"execution_time": "4.84",
"server_time": "Beijing/2022-07-25 10:57:24",
"client_ip": "106.6.38.104",
"call_args": {
"nick": "b2b-2200733087881719de"
},
"api_type": "1688",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "3.93MB",
"request_id": "gw-1.62de068f97a33",
"last_id": "1100291007"
}