0

由于他们的 API 文档中没有提供任何信息......是否可以使用 BestBuy API 进行搜索,将 UPC(条形码)作为参数并检索有关产品的信息,例如价格、图片网址、折扣等?

4

1 回答 1

2

对的,这是可能的。https://bestbuyapis.github.io/api-documentation/?shell#search-by-all-attributes上的文档包含许多您正在寻找的示例。

对于您的具体要求,您会希望进行如下查询

https://api.bestbuy.com/v1/products(upc=12345)?format=json&show=sku,name,salePrice&apiKey=YourAPIKey

于 2016-02-17T20:29:50.847 回答