BestBuy API的XML回调

时间:2016-07-28 09:09:59

标签: xml callback best-buy-api

我正在实施BestBuy API。我已经看过它的JSON回调网址了。谁能告诉我xml回调网址?

我写了这个查询

String url = "https://api.bestbuy.com/v1/products((search="+keyWords+"))?apiKey=myApiKey&callback=XML_CALLBACK&format=xml";

但它给了我nullpointer异常

1 个答案:

答案 0 :(得分:0)

以下是搜索文档的链接: https://bestbuyapis.github.io/api-documentation/

以下是使用通配符产品名称搜索xml响应的卷曲示例:

curl -v 'https://api.bestbuy.com/v1/products(name=contigo*)?format=xml&show=sku,name,salePrice&apiKey=myApiKey'
相关问题