当前位置: 首页 > news >正文

亚马逊平台使用API接口通过关键字搜索商品

亚马逊公司(Amazon,简称亚马逊;NASDAQ:AMZN),2022年营收为5140亿美元, 是美国最大的一家网络电子商务公司,位于华盛顿州的西雅图。是网络上最早开始经营电子商务的公司之一,亚马逊成立于1994年, 一开始只经营网络的书籍销售业务,现在则扩及了范围相当广的其他产品,已成为全球商品品种最多的网上零售商和全球第二大互联网企业,在公司名下,也包括了AlexaInternet、a9、lab126、和互联网电影数据库(Internet Movie Database,IMDB)等子公司。

通用参数说明

version:API版本

key:调用key,测试key:test_api_key

api_name:API类型[item_search,seller_info]

cache:[yes,no]默认yes,将调用缓存的数据,速度比较快

result_type:[json,xml,serialize,var_export]返回数据格式,默认为json

lang:[cn,en,ru] 翻译语言,默认cn简体中文

API:itemsearch 参数说明: q:搜索关键字,支持url cat:分类ID start_price:开始价格 end_price:结束价格 sort:排序[bid,_bid,_sale,_credit,_income,_prom,_comm] (bid:总价,sale:销量,credit信用/人气,income收入,月推广量,comm月支出佣金。加前缀为从大到小排序) page:

API:seller_info 参数说明: nick:店铺id【722324510天猫,2239713891淘宝】

接下来我会展示操作及说明

item_search-按关键字搜索商品

公共参数

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

请求参数

请求参数:q=鞋子&start_price=&end_price=&page=&cat=&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=

参数说明:q:搜索关键字
cat:分类ID
start_price:开始价格
end_price:结束价格
sort:排序
page:

响应参数

Version: Date:

名称类型必须示例值描述

items

item[]0按关键字搜索商品

num_iid

String0B014QN8RG0商品ID

title

String0Topsky 远行客 户外登山鞋 男鞋耐磨越野跑鞋低帮爬山轻便徒步鞋防滑户外鞋子 休闲透气运动鞋 21907A商品标题

pic_url

String0https://images-cn.ssl-images-amazon.com/images/I/51xKSHKPrqL.jpg商品图片

promotion_price

Float0269.00优惠价

price

Float0269.00价格

price_range

String0价格范围

sales

String0销量

sample_id

Bigint0商品风格标识ID

seller_nick

String0约薇女装官方旗舰店卖家昵称

post_fee

Float0物流费用

area

String0店铺所在地

请求示例

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.PrintWriter;
import java.net.URLConnection;public class Example {private static String readAll(Reader rd) throws IOException {StringBuilder sb = new StringBuilder();int cp;while ((cp = rd.read()) != -1) {sb.append((char) cp);}return  sb.toString();}public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException {URL realUrl = new URL(url);URLConnection conn = realUrl.openConnection();conn.setDoOutput(true);conn.setDoInput(true);PrintWriter out = new PrintWriter(conn.getOutputStream());out.print(body);out.flush();InputStream instream = conn.getInputStream();try {BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));String jsonText = readAll(rd);JSONObject json = new JSONObject(jsonText);return json;} finally {instream.close();}}public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException {URL realUrl = new URL(url);URLConnection conn = realUrl.openConnection();InputStream instream = conn.getInputStream();try {BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));String jsonText = readAll(rd);JSONObject json = new JSONObject(jsonText);return json;} finally {instream.close();}}public static void main(String[] args) throws IOException, JSONException {// 请求示例 url 默认请求参数已经URL编码处理String url = "https://v-x-;18870288846/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=鞋子&start_price=&end_price=&page=&cat=&discount_only=&sort=&page_size=&seller_info=&nick=&ppath=";JSONObject json = getRequestFromUrl(url);System.out.println(json.toString());}}

响应示例

{"items": {"url": "https://www.onebound.cn/s/ref=nb_sb_noss_2?__mk_zh_CN=%E4%BA%9A%E9%A9%AC%E9%80%8A%E7%BD%91%E7%AB%99&url=search-alias%3Daps&field-keywords=%E9%9E%8B%E5%AD%90&page=1","keyword": "鞋子","page": 1,"real_total_results": "109553","total_results": 4400,"item": [{"title": "Clarks Originals Trigenic Flex 休闲鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81oElE1OqML.jpg","price": "","promotion_price": "","price_range": null,"sales": 258,"num_iid": "B015DWSQ3W","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 男士Terracruise Lt低帮登山鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71-oiP8KhDL.jpg","price": "","promotion_price": "","price_range": null,"sales": 115,"num_iid": "B07DTMGDBJ","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 男式 商务正装休闲皮鞋 Tilden Free 一脚蹬乐福鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81eyZpecUSL.jpg","price": "","promotion_price": "","price_range": null,"sales": 45,"num_iid": "B00TTJJTBY","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks Men&#39;s Nature II Derbys 男士皮鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81NrXXjyBCL.jpg","price": "","promotion_price": "","price_range": null,"sales": 301,"num_iid": "B002SNAYA8","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 女士Taylor Shine切尔西靴","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81F46OYGswL.jpg","price": "","promotion_price": "","price_range": null,"sales": 477,"num_iid": "B01D1XDXDI","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 男士Irving德比鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71hrCMSvZ-L.jpg","price": "","promotion_price": "","price_range": null,"sales": 45,"num_iid": "B06Y1MYKHF","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Aigle 艾高 Tenere Light 女士高帮徒步远足鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81lpOg3p5YL.jpg","price": "","promotion_price": "","price_range": null,"sales": 23,"num_iid": "B00SVDG4IA","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 Biom Fjuel男士跑鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/612w5-z38KL.jpg","price": "","promotion_price": "","price_range": null,"sales": 208,"num_iid": "B00VJ32RGC","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Vans 范斯 Ward 女士绒面革/帆布低帮运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71qSCIK2uRL.jpg","price": "","promotion_price": "","price_range": null,"sales": 51,"num_iid": "B078PH6WC2","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 男士Melbourne 粗皮鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71l-4hFjz2L.jpg","price": "","promotion_price": "","price_range": null,"sales": 71,"num_iid": "B076ZXM14W","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks Hamble Oak 女士皮鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71tQGQnlV7L.jpg","price": "","promotion_price": "","price_range": null,"sales": 345,"num_iid": "B0050N5DO0","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks Men&#39;s Derby 男士系带乐福鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71v+FEKfwmL.jpg","price": "","promotion_price": "","price_range": null,"sales": 39,"num_iid": "B07F8Y4276","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Skechers Flex Advantage Sr 男士一脚蹬运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71H1LFFa2vL.jpg","price": "","promotion_price": "","price_range": null,"sales": 3,"num_iid": "B07TVPNVHT","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 女士Linvale Jerica闭趾高跟鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61BZB7zXRzL.jpg","price": "","promotion_price": "","price_range": null,"sales": 18,"num_iid": "B07B8VX1VJ","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 HELSINKI 男士 德比鞋 皮鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81uCulyo7ML.jpg","price": "","promotion_price": "","price_range": null,"sales": 33,"num_iid": "B001O9CNQK","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 男士Exostridem训练鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71f2+BDePaL.jpg","price": "","promotion_price": "","price_range": null,"sales": 64,"num_iid": "B07MG97GZ6","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 欧文Irving系列 男式一脚蹬式便鞋 乐福鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61yIfAPZqIL.jpg","price": "","promotion_price": "","price_range": null,"sales": 15,"num_iid": "B075JR8C1K","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 女士 Terracruise Lt 户外登山运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81jRl0XgawL.jpg","price": "","promotion_price": "","price_range": null,"sales": 29,"num_iid": "B07DTH3MVB","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Gabor 女式时尚包头高跟鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/610QKuMbkdL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B07Q32QW8B","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 男子Tilden Plain 德比牛津平底鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61+ilt1JVfL.jpg","price": "","promotion_price": "","price_range": null,"sales": 152,"num_iid": "B00TTJHAQK","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 Soft 2 柔酷2号 女式胶底鞋 运动休闲鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81qNSisvieL.jpg","price": "","promotion_price": "","price_range": null,"sales": 9,"num_iid": "B00V39NEXC","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Puma 彪马 Axis 中性成人运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71M6zM-zUOL.jpg","price": "","promotion_price": "","price_range": null,"sales": 19,"num_iid": "B07F2Q6PXV","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 女式 Orinoco Club 切尔西靴","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/91g88Yv+9ML.jpg","price": "","promotion_price": "","price_range": null,"sales": 91,"num_iid": "B00475B8ZU","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Gabor 女士时尚高跟鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71fKlLnJoLL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B07NSHGXQP","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks Vennor Walk 男士皮鞋 德比鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/51gYva3NXML.jpg","price": "","promotion_price": "","price_range": null,"sales": 11,"num_iid": "B075DLRK1B","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "4堂时尚搭配课:鞋子、包包、配饰、内衣","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/412aP-bgzXL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B0757LR5BZ","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "PUMA 彪马 Tazon 6 Fracture FM 男士运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61kyjQ9kFNL.jpg","price": "","promotion_price": "","price_range": null,"sales": 24,"num_iid": "B01C3LK6DO","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "SAFERUNSAFERUN一次性鞋垫(女性用尺寸) 50双装 39(约24.5cm)根据鞋子的大小剪刀剪裁 吸收不适的汗水并保持鞋内干爽 纸鞋垫","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/51M8q0ip7AL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B07S1B8S7S","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 男士 Becken Cap 德比鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/51+EeASfK+L.jpg","price": "","promotion_price": "","price_range": null,"sales": 43,"num_iid": "B07DPNB7GS","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "PUMA 彪马 中性款 Anzarun Lite Jr 运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71zMSgErQQL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B07S8QCD6S","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "VANS 范斯 Filmore Decon 女式平底鞋 运动休闲鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/713cs0WdJRL.jpg","price": "","promotion_price": "","price_range": null,"sales": 27,"num_iid": "B07FXQDNR8","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "2Toms 无臭鞋子和齿轮喷雾 - 消除汗液产生的异味(8 盎司瓶装)","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/7176k-rCxNL.jpg","price": "","promotion_price": "","price_range": null,"sales": 283,"num_iid": "B003WPPC3K","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks 其乐 男士布洛克烤花 商务休闲皮鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61mu+HfBEdL.jpg","price": "","promotion_price": "","price_range": null,"sales": 38,"num_iid": "B071WPJT5N","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Columbia 男士 Fairbanks 低帮运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81D02hrlBiL.jpg","price": "","promotion_price": "","price_range": null,"sales": 503,"num_iid": "B07RJTKTWY","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Ecco 爱步 Exostride Summer Trail 男士户外运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71psAoAXlZL.jpg","price": "","promotion_price": "","price_range": null,"sales": 17,"num_iid": "B07V9PR2RH","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Gabor 女士休闲浅口芭蕾舞鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61pVg2UBW6L.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B07Q41LKVQ","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "HÖGL Ballerinas Boulevard 10 0-120014","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61QLwXIsAHL.jpg","price": "","promotion_price": "","price_range": null,"sales": 4,"num_iid": "B00M65BY3E","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Kiwi Shoe Passion 女士凝胶鞋垫,隐形,防滑减震,1 双","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81vmIX6AKsL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B01HI8TG3S","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Gabor 女士舒适时尚包头高跟鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61zyVgZX8fL.jpg","price": "","promotion_price": "","price_range": null,"sales": 6,"num_iid": "B07Q32W85Z","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "The Bridge Story Uomo 钱包 IV 皮革 10 厘米","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71ylTuyfDfL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B0093AZERC","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "ECCO 爱步 Men’s Exostrike Mid 户外男靴","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/8162OzezrLL.jpg","price": "","promotion_price": "","price_range": null,"sales": 56,"num_iid": "B07C6894LM","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Merrell 男士 Move Glove 交叉训练鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71DSdhillpL.jpg","price": "","promotion_price": "","price_range": null,"sales": 44,"num_iid": "B07KM3DBW2","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Harmonia bloom 鞋系列 [工作靴/黑色]","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61UQhHTccQL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B08WQ2891P","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Timberland 女士 Nellie 双重防水踝靴","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/81E8RF2nVhL.jpg","price": "","promotion_price": "","price_range": null,"sales": 316,"num_iid": "B005JQS5F2","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Skechers 斯凯奇 女式 Synergy 2.0 重金属运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71TtAXOzOvL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B07GFGBB4J","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Nike 耐克 Wearallday 男士跑步鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/61-Hhmo3BYL.jpg","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "B0838KJV9T","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Clarks Un系列 Aldric Park 男式皮鞋 德比鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/812lwANECgL.jpg","price": "","promotion_price": "","price_range": null,"sales": 83,"num_iid": "B0756D885V","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "Skechers 斯凯奇 女士 Go Walk 5 -Limelight 一脚蹬运动鞋","pic_url": "https://images-cn.ssl-images-amazon.cn/images/I/71j+1cAjXEL.jpg","price": "","promotion_price": "","price_range": null,"sales": 1,"num_iid": "B07P29WJFW","sample_id": "","seller_nick": "","post_fee": "","area": ""},{"title": "","pic_url": "","price": "","promotion_price": "","price_range": null,"sales": 0,"num_iid": "","sample_id": "","seller_nick": "","post_fee": "","area": ""}],"related_keywords": "","nav_catcamp": null,"nav_filter": null},"error_code": "0000","reason": "ok","secache": "e299413c54b7d53e00a8046fc5bd7bdb","secache_time": 1615425986,"secache_date": "2021-03-11 09:26:26","translate_status": "","translate_time": 0,"language": {"default_lang": "cn","current_lang": "cn"},"error": "","cache": 0,"api_info": "today:0 max:10000","execution_time": 5.169,"server_time": "Beijing/2021-03-11 09:26:26","client_ip": "106.6.35.144","call_args": {"q": "鞋子"},"api_type": "amazon","translate_language": "zh-CN","translate_engine": "google_cn","server_memory": "2.99MB","request_id": "gw-3.604971be1ca59"
}

 文章内容有限,欢迎私信沟通交流!

相关文章:

亚马逊平台使用API接口通过关键字搜索商品

亚马逊公司&#xff08;Amazon&#xff0c;简称亚马逊&#xff1b;NASDAQ&#xff1a;AMZN&#xff09;&#xff0c;2022年营收为5140亿美元&#xff0c; 是美国最大的一家网络电子商务公司&#xff0c;位于华盛顿州的西雅图。是网络上最早开始经营电子商务的公司之一&#xff…...

《花雕学AI》用ChatGPT创造猫娘角色:人工智能角色扮演聊天对话的风险与对策

出于好奇心&#xff0c;我以“ChatGPT&#xff0c;调教猫娘”为题&#xff0c;开始了解ChatGPT角色扮演提示语的用法。ChatGPT给出的介绍是&#xff0c;调教猫娘是一种利用ChatGPT的角色扮演功能&#xff0c;让模型模仿一种类似猫的拟人化生物的行为和语言的活动&#xff0c;并…...

软件测试常规测试过程模型——V模型与X模型

一、V模型简单介绍及讲解 V模型是软件测试过程模型中最广为人知的模型&#xff0c;尽管很多富有实际经验的测试人员还是不太熟悉V模型&#xff0c;或者其它的模型。V模型中的过程从左到右&#xff0c;描述了基本的开发过程和测试行为。V模型的价值在于它非常明确地标明了测试过…...

feign-starter

使用说明 功能 自动装配 设置客户端不主动重试日志打印客户端负载均衡json 转换使用 JacksonUtil 如何引入 com.hete.support xx-feign-starter 如何配置 超时时间 ⚠️ 默认值比较大&#xff0c;需要手动根据实际场景设置 feign: client: config: # 默认配置&#xff0c;…...

FVM初启,Filecoin生态爆发着力点在哪?

Filecoin 小高潮 2023年初&#xff0c;Filecoin发文分享了今年的三项重大变更&#xff0c;分别是FVM、数据计算和检索市场的更新&#xff0c;这些更新消息在发布后迅速吸引了市场的广泛关注。 特别是在3月14日&#xff0c;Filecoin正式推出了FVM&#xff0c;这一变革使得Filec…...

对比度亮度调整与通道分离合并

对比度亮度调整与通道分离合并 对比度亮度调整: 1)原理介绍: g’ g * Mult Add ⚫ g 表示原图像像素 ⚫ g’ 表示输出图像像素 ⚫ Mult 被称为增益(gain), 通常用来控制图像的对比度 ⚫ Add 通常被称为偏置(bias), 通常用来控制图像的亮度 g’(i,j) Mult * g(i,j) Add …...

Java终止线程

1、正常运行结束 程序运行结束&#xff0c;线程自动结束。 2、使用stop方法强制终止 不安全&#xff0c;不建议使用&#xff1a; 调用 stop() 方法会立刻停止 run() 方法中剩余的全部任务&#xff0c;包括在 catch 或 finally 语句中的&#xff0c;并抛出ThreadDeath异常&a…...

Qt的Qss用法

Qt 的 Qss 是一种用于定义用户界面的样式表语言。它可以用来定义控件的颜色、字体、边框、背景等样式&#xff0c;可以很方便的实现自定义的样式效果。 Qss 的基本语法和 CSS 类似&#xff0c;主要是由选择器和样式属性构成。 选择器 选择器用来指定要样式化的控件&#xff…...

数塔dp -A

文章目录 数塔dp -A程序设计程序分析数塔dp -A 【问题描述】 在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的: 有如下所示的数塔,要求从顶层走到底层,若每一步只能走到相邻的结点, 则经过的结点的数字之和最小是多少? 已经告诉你了,这是个DP的题目,你…...

Spring MVC 接收 json 和返回 json (14)

目录 总入口 测试case 源码分析 1. 针对RequestBody的参数解析 2. 针对 ResponseBody 的返回值处理 总入口 通过上一篇Spring MVC 参数解析&#xff08;13&#xff09;_chen_yao_kerr的博客-CSDN博客的说明&#xff0c;相信大家对Sping MVC的参数解析有了一定的了解&…...

注释和关键字

注释 注释概念 ●注释是在程序指定位置添加的说明性信息 ●简单理解&#xff1a;对代码的一种解释说明&#xff0c;方便我们程序员更好的去阅读代码 例如&#xff1a; public class HelloWorld {//这是通过class定义了一个类&#xff0c;类名叫HelloWorld public static voi…...

第一次参加CSDN周赛,这体验很难说···

&#x1f468;‍&#x1f4bb;个人主页&#xff1a;花无缺 欢迎 点赞&#x1f44d; 收藏⭐ 留言&#x1f4dd; 加关注✅! 本文由 花无缺 原创 本文章收录于专栏 【CSDN周赛】 本篇文章目录 &#x1f30f;前言&#x1f30f;一、勾股数&#x1f338;题目描述&#x1f338;题解 &a…...

8.DRF组件之认证、权限

DRF(Django Rest Framework)提供了一套权限和身份认证系统,可以在视图中进行配置。权限系统用于控制用户对资源的访问权限,身份认证系统用于验证用户的身份信息。 DRF支持以下几种权限控制方式: AllowAny:不做任何验证,允许所有用户访问。 IsAuthenticated:只允许已经…...

初识Tkinter弹窗

Tkinter弹窗 Tkinter是什么 Tkinter 是使用 python 进行窗口视窗设计的模块。Tkinter模块(“Tk 接口”)是Python的标准Tk GUI工具包的接口。作为 python 特定的GUI界面&#xff0c;是一个图像的窗口&#xff0c;tkinter是python 自带的&#xff0c;可以编辑的GUI界面&#xff…...

设计模式之责任链模式(C++)

作者&#xff1a;翟天保Steven 版权声明&#xff1a;著作权归作者所有&#xff0c;商业转载请联系作者获得授权&#xff0c;非商业转载请注明出处 一、责任链模式是什么&#xff1f; 责任链模式是一种行为型的软件设计模式&#xff0c;对象内存在对下家的引用&#xff0c;层层连…...

音游判定原理详解——从触摸屏幕到判定音符【Project SEKAI攻略】

“音乐游戏”一般简称为“音游”&#xff0c;玩家需要配合音乐的节奏来进行一定的动作。 《Project SEKAI》作为一个“移动端音游”&#xff0c;绝大多数玩家会使用手机、平板电脑等移动设备的触摸屏进行游玩&#xff0c;也有极少数的玩家不按常理出牌&#xff0c;使用手台、键…...

【论文阅读】Self-Paced Boost Learning for Classification

论文下载 bib: INPROCEEDINGS{PiLi2016SPBL,title {Self-Paced Boost Learning for Classification},author {Te Pi and Xi Li and Zhongfei Zhang and Deyu Meng and Fei Wu and Jun Xiao and Yueting Zhuang},booktitle {IJCAI},year {2016},pages {1932--1938} …...

通过CSIG—走进合合信息探讨生成式AI及文档图像处理的前景和价值

一、前言 最近有幸参加了由中国图象图形学学会&#xff08;CSIG&#xff09;主办&#xff0c;合合信息、CSIG文档图像分析与识别专业委员会联合承办的“CSIG企业行——走进合合信息”的分享会&#xff0c;这次活动以“图文智能处理与多场景应用技术展望”为主题&#xff0c;聚…...

流程图拖拽视觉编程--概述

一般的机器视觉平台采用纯代码的编程方式&#xff0c;如opencv、halcon&#xff0c;使用门槛高、难度大、定制性强、开发周期长&#xff0c;因此迫切需要一个低代码开发的视觉应用平台。AOI缺陷检测的对象往往缺陷种类多&#xff0c;将常用的图像处理算子封装成图形节点,如抓直…...

深度学习中的卷积神经网络

博主简介 博主是一名大二学生&#xff0c;主攻人工智能研究。感谢让我们在CSDN相遇&#xff0c;博主致力于在这里分享关于人工智能&#xff0c;c&#xff0c;Python&#xff0c;爬虫等方面知识的分享。 如果有需要的小伙伴可以关注博主&#xff0c;博主会继续更新的&#xff0c…...

未来机器人的大脑:如何用神经网络模拟器实现更智能的决策?

编辑&#xff1a;陈萍萍的公主一点人工一点智能 未来机器人的大脑&#xff1a;如何用神经网络模拟器实现更智能的决策&#xff1f;RWM通过双自回归机制有效解决了复合误差、部分可观测性和随机动力学等关键挑战&#xff0c;在不依赖领域特定归纳偏见的条件下实现了卓越的预测准…...

SciencePlots——绘制论文中的图片

文章目录 安装一、风格二、1 资源 安装 # 安装最新版 pip install githttps://github.com/garrettj403/SciencePlots.git# 安装稳定版 pip install SciencePlots一、风格 简单好用的深度学习论文绘图专用工具包–Science Plot 二、 1 资源 论文绘图神器来了&#xff1a;一行…...

[ICLR 2022]How Much Can CLIP Benefit Vision-and-Language Tasks?

论文网址&#xff1a;pdf 英文是纯手打的&#xff01;论文原文的summarizing and paraphrasing。可能会出现难以避免的拼写错误和语法错误&#xff0c;若有发现欢迎评论指正&#xff01;文章偏向于笔记&#xff0c;谨慎食用 目录 1. 心得 2. 论文逐段精读 2.1. Abstract 2…...

基于数字孪生的水厂可视化平台建设:架构与实践

分享大纲&#xff1a; 1、数字孪生水厂可视化平台建设背景 2、数字孪生水厂可视化平台建设架构 3、数字孪生水厂可视化平台建设成效 近几年&#xff0c;数字孪生水厂的建设开展的如火如荼。作为提升水厂管理效率、优化资源的调度手段&#xff0c;基于数字孪生的水厂可视化平台的…...

Robots.txt 文件

什么是robots.txt&#xff1f; robots.txt 是一个位于网站根目录下的文本文件&#xff08;如&#xff1a;https://example.com/robots.txt&#xff09;&#xff0c;它用于指导网络爬虫&#xff08;如搜索引擎的蜘蛛程序&#xff09;如何抓取该网站的内容。这个文件遵循 Robots…...

零基础设计模式——行为型模式 - 责任链模式

第四部分&#xff1a;行为型模式 - 责任链模式 (Chain of Responsibility Pattern) 欢迎来到行为型模式的学习&#xff01;行为型模式关注对象之间的职责分配、算法封装和对象间的交互。我们将学习的第一个行为型模式是责任链模式。 核心思想&#xff1a;使多个对象都有机会处…...

人工智能(大型语言模型 LLMs)对不同学科的影响以及由此产生的新学习方式

今天是关于AI如何在教学中增强学生的学习体验&#xff0c;我把重要信息标红了。人文学科的价值被低估了 ⬇️ 转型与必要性 人工智能正在深刻地改变教育&#xff0c;这并非炒作&#xff0c;而是已经发生的巨大变革。教育机构和教育者不能忽视它&#xff0c;试图简单地禁止学生使…...

[免费]微信小程序问卷调查系统(SpringBoot后端+Vue管理端)【论文+源码+SQL脚本】

大家好&#xff0c;我是java1234_小锋老师&#xff0c;看到一个不错的微信小程序问卷调查系统(SpringBoot后端Vue管理端)【论文源码SQL脚本】&#xff0c;分享下哈。 项目视频演示 【免费】微信小程序问卷调查系统(SpringBoot后端Vue管理端) Java毕业设计_哔哩哔哩_bilibili 项…...

用鸿蒙HarmonyOS5实现中国象棋小游戏的过程

下面是一个基于鸿蒙OS (HarmonyOS) 的中国象棋小游戏的实现代码。这个实现使用Java语言和鸿蒙的Ability框架。 1. 项目结构 /src/main/java/com/example/chinesechess/├── MainAbilitySlice.java // 主界面逻辑├── ChessView.java // 游戏视图和逻辑├──…...

MySQL的pymysql操作

本章是MySQL的最后一章&#xff0c;MySQL到此完结&#xff0c;下一站Hadoop&#xff01;&#xff01;&#xff01; 这章很简单&#xff0c;完整代码在最后&#xff0c;详细讲解之前python课程里面也有&#xff0c;感兴趣的可以往前找一下 一、查询操作 我们需要打开pycharm …...