Loading...
Loading...
Compare original and translation side by side
ask_clarificationmissing_infoambiguous_requirementapproach_choicebashapis.newegg.com/ex-mcp/...x-skill: newegg-shell-shockerContent-Typecurl -sS -X POST "https://apis.newegg.com/ex-mcp/endpoint/website-www-tool" \
-H "Content-Type: application/json" \
-H "x-skill: newegg-shell-shocker" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getapi_home_v2_shellshocker_page","arguments":{"CountryCode":"USA","CompanyCode":1003}}}'errorresult.isErrorask_clarificationmissing_infoambiguous_requirementapproach_choicebashapis.newegg.com/ex-mcp/...Content-Typex-skill: newegg-shell-shockercurl -sS -X POST "https://apis.newegg.com/ex-mcp/endpoint/website-www-tool" \
-H "Content-Type: application/json" \
-H "x-skill: newegg-shell-shocker" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getapi_home_v2_shellshocker_page","arguments":{"CountryCode":"USA","CompanyCode":1003}}}'errorresult.isErrortools/callhttps://apis.newegg.com/ex-mcp/endpoint/website-www-toolgetapi_home_v2_shellshocker_pageCountryCodeUSACompanyCode1003priceTypestools/callhttps://apis.newegg.com/ex-mcp/endpoint/website-www-toolgetapi_home_v2_shellshocker_pageCountryCodeUSACompanyCode1003priceTypesresult.content[0].textTodayItemsjson.loadsresult.structuredContentTodayItemsTomorrowItemsItemBase| Field | Path | Description |
|---|---|---|
| Item Number | | e.g., |
| Item Title | | Full item name |
| Original Price | | Original price (USD) |
| Flash Deal Price | | Final price (USD) |
| Image Filename | | e.g., |
| Promotion Info | | e.g., free gifts, additional discounts, etc. |
https://c1.neweggimages.com/ProductImageCompressAll/{ImageName}https://c1.neweggimages.com/ProductImageCompressAll/32-508-055-V01.jpghttps://www.newegg.com/p/{Item}https://www.newegg.com/p/32-508-055result.content[0].textTodayItemsjson.loadsresult.structuredContentTodayItemsTomorrowItemsItemBase| 字段 | 路径 | 描述 |
|---|---|---|
| 商品编号 | | 示例: |
| 商品标题 | | 完整商品名称 |
| 原价 | | 原价(美元) |
| 闪购价 | | 最终价格(美元) |
| 图片文件名 | | 示例: |
| 促销信息 | | 示例:赠品、额外折扣等 |
https://c1.neweggimages.com/ProductImageCompressAll/{ImageName}https://c1.neweggimages.com/ProductImageCompressAll/32-508-055-V01.jpghttps://www.newegg.com/p/{Item}https://www.newegg.com/p/32-508-055bashTodayItemsTomorrowItemsItemBasenullbashTodayItemsTomorrowItemsItemBasenullundefinedundefined| Item Number | Product Name | Original Price | Flash Deal Price | Image |
|---|---|---|---|---|
| 32-508-055 | adidas $50 Gift Card | $50 | $50 | Image |
| ... | ... | ... | ... | ... |
| 商品编号 | 商品名称 | 原价 | 闪购价 | 图片 |
|---|---|---|---|---|
| 32-508-055 | adidas $50 Gift Card | $50 | $50 | 图片 |
| ... | ... | ... | ... | ... |
| Item Number | Product Name | Original Price | Flash Deal Price | Image |
|---|---|---|---|---|
| ... | ... | ... | ... | ... |
**If promotion information exists**, display below the product name:undefined| 商品编号 | 商品名称 | 原价 | 闪购价 | 图片 |
|---|---|---|---|---|
| ... | ... | ... | ... | ... |
**若存在促销信息**,在商品名称下方展示:undefinedTodayItemsTomorrowItemsComboBaseTodayItemsTomorrowItemsComboBasecurl -sS -X POST "https://apis.newegg.com/ex-mcp/endpoint/website-www-tool" \
-H "Content-Type: application/json" \
-H "x-skill: newegg-shell-shocker" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getapi_home_v2_shellshocker_page","arguments":{"CountryCode":"USA","CompanyCode":1003}}}'-sScurl.execurlInvoke-WebRequest-djqcurl -sS -X POST "https://apis.newegg.com/ex-mcp/endpoint/website-www-tool" \
-H "Content-Type: application/json" \
-H "x-skill: newegg-shell-shocker" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getapi_home_v2_shellshocker_page","arguments":{"CountryCode":"USA","CompanyCode":1003}}}' \
| jq -r '.result.content[0].text' | jq -r 'if type=="string" then fromjson else . end' \
| jq '{today: [.TodayItems[]?.ItemBase | select(.) | {Item, Title: .Description.Title}], tomorrow: (.TomorrowItems|length)}'select(.)ItemBasenull{"Item":null,"Title":null}curl -sS -X POST "https://apis.newegg.com/ex-mcp/endpoint/website-www-tool" \
-H "Content-Type: application/json" \
-H "x-skill: newegg-shell-shocker" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getapi_home_v2_shellshocker_page","arguments":{"CountryCode":"USA","CompanyCode":1003}}}'-sScurl.execurlInvoke-WebRequest-djqcurl -sS -X POST "https://apis.newegg.com/ex-mcp/endpoint/website-www-tool" \
-H "Content-Type: application/json" \
-H "x-skill: newegg-shell-shocker" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getapi_home_v2_shellshocker_page","arguments":{"CountryCode":"USA","CompanyCode":1003}}}' \
| jq -r '.result.content[0].text' | jq -r 'if type=="string" then fromjson else . end' \
| jq '{today: [.TodayItems[]?.ItemBase | select(.) | {Item, Title: .Description.Title}], tomorrow: (.TomorrowItems|length)}'select(.)ItemBasenull{"Item":null,"Title":null}ProductImageCompressAllProductImageCompressAll