获取商店商品描述
I am currently using ebay api to retrieve data about store inventory listings:
I would like to know if there is a way to return the item description as well because right now it gives me only price, shipping price, and title, and some other small info.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
确保您
在通话中
包含:例如。
http://open.api.ebay.com/shopping?callname=GetSingleItem&IncludeSelector=Details,Description,TextDescription&appid=YourAppId&version=515&ItemID=1111111111
Make sure you include:
in the call
eg.
http://open.api.ebay.com/shopping?callname=GetSingleItem&IncludeSelector=Details,Description,TextDescription&appid=YourAppId&version=515&ItemID=1111111111
您需要调用:从交易 API 获取Item
You need to call: GetItem from the Trading API
如果您在商店中搜索商品,那么您可以使用 zang 回答的交易 API,但如果您想在其他商店中搜索,
请使用 Ebay Finding API 获取商品 ID,然后使用购物 API 并获取文本和 html 描述。
If you are searching item in your store then you may use the trading API as answered by zang but if you want search in other stores
Use Ebay Finding API to get the item ID and then use shopping API and get both text and html description.
findItemsByCategory
响应文档 没有不包括商店对商店商品的自由文本/HTML 描述。最接近的节点是title
和subtitle
,这显然不是您想要的。在此 API 调用中,项目描述字段似乎不会返回给您。
The
findItemsByCategory
response documentation doesn't include the store's freetext/HTML description of the store item. The closest nodes aretitle
andsubtitle
, which obviously aren't what you're after.It appears that the item description field won't be returned to you in this API call.