京东 api 接口的如何使用

news/2024/11/22 18:46:13/

请求参数:q = 书 & start_price=0&end_price=0&page=1&cat=0&discount_only=&sort=&seller_info=no&nick=&seller_info=&nick=&ppath=&imgid=&filter=

参数说明:q: 搜索关键字,支持 url

cat: 分类 ID

start_price: 开始价格

end_price: 结束价格

sort: 排序 [bid,_bid,_sale,_review,_new]

(bid: 总价,sale: 销量,review 评论数,new 新品,加_前缀为从大到小排序)

API接口测试

page:

{ "items": { "keyword": "书", "page": 1, "real_total_results": 2200, "total_results": 2200, "pagecount": 100, "page_size": 20, "data_from": "app", "item": [ { "num_iid": "12695803", "detail_url": "https://item.jd.com/12695803.html", "title": "理想国(罗翔多次推荐的哲学经典,周国平强烈推荐版本,豆瓣9.6分译本)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/201446/9/14090/168140/61811c0bE7a6c1833/bb35e5b96b5c5df9.jpg", "price": "68.00", "promotion_price": "68.00", "sales": 0, "seller_id": "1000005706", "seller": "果麦京东自营官方旗舰店" }, { "num_iid": "13502500", "detail_url": "https://item.jd.com/13502500.html", "title": "季羡林:时间从来不语,却回答了所有问题(文学大师季羡林百岁人生的智慧精粹未来不足惧过往不须泣心灵励志)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/80087/2/18645/136037/62bd05bcE8b173d9e/ae325bddbbec2a65.jpg", "price": "55.00", "promotion_price": "55.00", "sales": 0, "seller_id": "1000005571", "seller": "紫图京东自营官方旗舰店" }, { "num_iid": "12987083", "detail_url": "https://item.jd.com/12987083.html", "title": "余华:活着(精装版,余华代表作,易烊千玺推荐阅读 新版)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/169490/8/21441/154305/616faabcE44063cb3/757625d08f4857f3.jpg", "price": "31.00", "promotion_price": "31.00", "sales": 0, "seller_id": "1000005287", "seller": "新经典文化京东自营官方旗舰店" }, { "num_iid": "11682929", "detail_url": "https://item.jd.com/11682929.html", "title": "王朔:起初·纪年 王朔新书 埋头十五年 压卷之作 中国当代小说新高度 致女儿书 动物凶猛 看上去很美我是你爸爸", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/193564/28/28322/105569/62f5ad5eEcf3c6cdc/5444ca879c57dd49.jpg", "price": "79.00", "promotion_price": "79.00", "sales": 0, "seller_id": "1000005287", "seller": "新经典文化京东自营官方旗舰店" }, { "num_iid": "13242319", "detail_url": "https://item.jd.com/13242319.html", "title": "科学聊起来经典版(全7册)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/122478/24/29106/134969/62c3fb8cEb720d5f2/9187322d534c14a1.jpg", "price": "224.00", "promotion_price": "224.00", "sales": 0, "seller_id": "0", "seller": "" }, { "num_iid": "12927896", "detail_url": "https://item.jd.com/12927896.html", "title": "世界十大名著(套装共10册 精装版)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/29294/18/18541/67219/62dfaecfE6c192322/3900ddfd25e2a1bd.jpg", "price": "222.30", "promotion_price": "222.30", "sales": 0, "seller_id": "1000376383", "seller": "翰墨怡香图书京东自营官方旗舰店" }, { "num_iid": "13415074", "detail_url": "https://item.jd.com/13415074.html", "title": "明朝那些事儿增补版.全集(2021版)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/112452/34/22481/166723/624e42baEec32415a/f73757513bfe5521.jpg", "price": "202.50", "promotion_price": "202.50", "sales": 0, "seller_id": "1000004234", "seller": "磨铁图书京东自营官方旗舰店" }, { "num_iid": "13121777", "detail_url": "https://item.jd.com/13121777.html", "title": "消失的13级台阶(罗翔推荐!荣获日本推理小说至高荣誉江户川乱步奖!)(读客外国小说文库)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/165900/2/18103/197029/60756569E3220539a/5d9735a43e2c188c.jpg", "price": "42.00", "promotion_price": "42.00", "sales": 0, "seller_id": "1000004254", "seller": "读客京东自营官方旗舰店" }, { "num_iid": "13502500", "detail_url": "https://item.jd.com/13502500.html", "title": "文学名家集:想念 往往不是刻意的+一眨眼 算不算少年+时间从来不语 却回答了所有问题(套装共3册)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/85268/10/21375/211437/6215a839Eecf81435/84c7c084bb98950a.jpg", "price": "165.00", "promotion_price": "165.00", "sales": 0, "seller_id": "1000005571", "seller": "紫图京东自营官方旗舰店" }, { "num_iid": "13502500", "detail_url": "https://item.jd.com/13502500.html", "title": "季羡林作品集:糊涂一点 潇洒一点+时间从来不语 却回答了所有问题(套装共2册)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/217765/31/18161/134474/62afeb64Eac40409d/53da0cdaf3c7b41e.jpg", "price": "110.00", "promotion_price": "110.00", "sales": 0, "seller_id": "1000005571", "seller": "紫图京东自营官方旗舰店" }, { "num_iid": "12840253", "detail_url": "https://item.jd.com/12840253.html", "title": "半小时漫画中国史1-5(从春秋战国,笑到大清灭亡!看半小时漫画,通五千年历史!)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/134453/37/26596/290419/62540bc8Eaf8c40cd/6cb897376e799a96.jpg", "price": "200.00", "promotion_price": "200.00", "sales": 0, "seller_id": "1000004254", "seller": "读客京东自营官方旗舰店" }, { "num_iid": "13279095", "detail_url": "https://item.jd.com/13279095.html", "title": "【樊登推荐】宇宙全知道 全套16册 中小学生成年人阅读天文科普书 美国国家地理、NASA、ESA联合出品 国家天文台专家翻译审校 全景式读懂宇宙银河系太阳系火星地球月球星空图鉴", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/139914/32/28058/251463/62e0d09fEf3efbcf9/7b72915b1bba43ea.jpg", "price": "720.00", "promotion_price": "720.00", "sales": 0, "seller_id": "1000098708", "seller": "天地出版社童书京东自营官方旗舰店" }, { "num_iid": "13169287", "detail_url": "https://item.jd.com/13169287.html", "title": "生命的故事第4辑(全12册)(3-6岁儿童科普绘本昆虫动物百科全书 用实拍大图记录生命的成长过程 海桐、果壳推荐))(中国环境标志 绿色印刷)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/206455/32/25028/107823/62e764faEe6053bac/229959f4d954775f.jpg", "price": "217.80", "promotion_price": "217.80", "sales": 0, "seller_id": "1000005947", "seller": "阿卡狄亚童书馆京东自营官方旗舰店" }, { "num_iid": "11757834", "detail_url": "https://item.jd.com/11757834.html", "title": "中国科幻基石丛书:三体全集(套装1-3册)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1705/189/702227414/177982/cc8c12f0/55dab54dN5271c377.jpg", "price": "92.80", "promotion_price": "92.80", "sales": 0, "seller_id": "1000099561", "seller": "科幻世界京东自营官方旗舰店" }, { "num_iid": "12869807", "detail_url": "https://item.jd.com/12869807.html", "title": "平凡的世界:全三册(新版,茅盾文学奖获奖作品,激励青年的不朽经典)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/185002/33/14180/99841/60efaf53Ed0b8fe0c/b7db5ad1e7067cc1.jpg", "price": "98.00", "promotion_price": "98.00", "sales": 0, "seller_id": "1000005287", "seller": "新经典文化京东自营官方旗舰店" }, { "num_iid": "12927896", "detail_url": "https://item.jd.com/12927896.html", "title": "中国十大名著(套装共10册 精装版)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/214750/14/19448/45961/62dfae86Ee6d1db20/b7c99b7df47da9e2.jpg", "price": "222.30", "promotion_price": "222.30", "sales": 0, "seller_id": "1000376383", "seller": "翰墨怡香图书京东自营官方旗舰店" }, { "num_iid": "12037351", "detail_url": "https://item.jd.com/12037351.html", "title": "杀死一只知更鸟(豆瓣9.2,关于勇气与正义的成长教科书,影响全球5000万家庭的“教养宝典”,奥巴马、贝克汉姆、奥普拉鼎力推荐)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/142168/39/28830/69919/630477eaEa5f5e462/8265d5ce7f8432a3.jpg", "price": "48.00", "promotion_price": "48.00", "sales": 0, "seller_id": "1000004549", "seller": "译林出版社京东自营官方旗舰店" }, { "num_iid": "12541706", "detail_url": "https://item.jd.com/12541706.html", "title": "果麦经典:罪与罚(罗翔老师推荐,完整无删节“斧头版”!世界心理小说的喜马拉雅山,用爱和生活去对抗痛苦!)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/135634/25/5604/710503/5f1fe959E2f91bdd0/0aff9f6d53cd9aea.jpg", "price": "68.00", "promotion_price": "68.00", "sales": 0, "seller_id": "1000005706", "seller": "果麦京东自营官方旗舰店" }, { "num_iid": "13023732", "detail_url": "https://item.jd.com/13023732.html", "title": "儿童大格局培养绘本(套装8册)培养孩子更大的格局 实现人生的更大目标", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/155539/31/7138/618981/5fbca7b1E0c81995c/0a21085dc776a49d.jpg", "price": "100.00", "promotion_price": "100.00", "sales": 0, "seller_id": "1000133831", "seller": "小麒麟童书馆京东自营官方旗舰店" }, { "num_iid": "12655095", "detail_url": "https://item.jd.com/12655095.html", "title": "破局 超越同龄人的思考与行动指南(人邮普华出品)", "pic_url": "http://m.360buyimg.com/mobilecms/jfs/t1/49551/31/19052/78687/62b1aa5aE22be0bf2/d95bd79d767896bb.jpg", "price": "44.60", "promotion_price": "44.60", "sales": 0, "seller_id": "1000004566", "seller": "人民邮电出版社京东自营官方旗舰店" } ] }, "error_code": "0000", "reason": "ok", "secache": "ba09a53304ae9563d3e6517bedafbb31", "secache_time": 1661326231, "secache_date": "2022-08-24 15:30:31", "translate_status": "", "translate_time": 0, "language": { "default_lang": "cn", "current_lang": "cn" }, "error": "", "cache": 0, "api_info": "today:99 max:10100 all[195=99+42+57];expires:2030-12-31", "execution_time": "8.084", "server_time": "Beijing/2022-08-24 15:30:31", "client_ip": "106.6.39.114", "call_args": { "q": "书", "start_price": "0", "end_price": "0", "page": "1", "cat": "0" }, "api_type": "jd", "translate_language": "zh-CN", "translate_engine": "google_new", "server_memory": "1.09MB", "request_id": "gw-4.6305d38f2d9a0", "last_id": "1172585279" }


http://www.ppmy.cn/news/765150.html

相关文章

我叫mt4服务器维护时间,我叫mt4日常几点更新?日常任务刷新时间介绍[图]

我叫mt4日常几点更新,什么时候才能在做一次呢?下面是友情MT为大家带来的我叫mt4日常任务刷新时间介绍,希望能帮助到大家! 我叫mt4日常几点更新? 游戏内的日常为每日凌晨4点刷新,而副本与日常的刷新时间不同…

inception系列

googlenet网络框架 原本用的是a图,但是最后得到的太厚了。采用b图,使用1*1卷积进行降维度操作,使用4种路径,总有一个可以抓到特征。 1*1卷积,可以降低维度,减少参数。 上图是全局平均池化,就…

彩虹七色的RGB值

彩虹七色的RGB值 16进制码: 红色 #FF0000 橙色 #FF7F00 黄色 #FFFF00 绿色 #00FF00 青色 #00FFFF 蓝色 #0000FF 紫色 #8B00FF RGB值: 赤色 【RGB】255, 0, 0 橙色 【RGB】 255, 165, 0 黄色 【RGB】255, 255, 0 绿色 【RGB】0, 255, 0 青色 【RGB】…

QGIS|如何制作行政区划四色图

行政区划单元是常用的底图要素,通常用颜色进行区分,这些大面积分布的色彩往往决定了一幅地图的配色风格,因此,行政区划图的色彩配置将影响到地图信息表达效果。 本文结合QGIS的【拓扑着色】工具,介绍QGIS实现行政区划…

Bootstrap样式登录注册表单界面

下载地址一套简约的Bootstrap样式登录和注册表单界面,在同一个页面上同时有登录和注册两个表单。可以结合FontAwesome紫图图标美化。 dd:

Python绘制子图

方法一 import numpy as np import pandas as pd import matplotlib.pyplot as plt %matplotlib inline # 画第1个图:折线图 xnp.arange(1,100) plt.subplot(221) plt.plot(x,x*x) # 画第2个图:散点图 plt.subplot(222) plt.scatter(np.arange(0,10), n…

无向图染色

题目描述 给一个无向图染色&#xff0c;可以填红黑两种颜色&#xff0c;必须保证相邻两个节点不能同时为红色&#xff0c;输出有多少种不同的染色方案? 输入描述 第—行输入M(图中节点数)N(边数) 后续N行格式为:V1V2表示一个V1到V2的边。 数据范围: 1<M< 15,0 <N<…

Unity 导出AB包到手机部分Shader丢失解决方案记录。

1.Unity自带默认Shader丢失情况。 需要在 ProjectSettings/Graphics/AlwaysIncludedShaders 中将使用的Shader打入&#xff0c;建议不使用M默认Standard.shader。这个会导致包体大40M。建议自己实现。添加形式如图 2.自我编辑的Shader丢失&#xff0c;表现形式为在ab包中显示已…