2016-07-28 7 views
0

私はBestBuy APIを実装していました。私はそれがJSONのコールバックURLだと見てきました。誰でも私にxmlコールバックURLを教えてもらえますか?BestBuy APIのXMLコールバック

私は

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

このクエリを書かれている。しかし、それはここで検索ドキュメントへのリンクの私にnullポインタ例外

答えて

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' 
+0

"https://api.bestbuy.com/v1/products(name="+keyWords+")?format=xml&show=sku,name,salePrice&apiKey="+API_KEY –

+0

これは私のコードで書いたものですが、検索結果はありません! –

関連する問題