Amazon Ürün API ResponseGroups ve Varsayılan sonuçlar

2 Cevap php

A. In our application, most of the data we work with is stored as free text .i.e. there is no categorization done as of now. We are using openNLP libraries to make sense of the data(extract keywords/classify) and do a query to Amazon web services to pull the results of the query.

We use searchindex=All and keywords=. Results are not always returned and we basically get 'AWS.ECommerceService.NoExactMatches' How to avoid that? 1) Is there a way to specify default results if no match found? e.g. Amazon carousel widget does that if the search query did not return results, it basically show some computer items. 2) Should I batch the request always and add another search criteria to every request? If my first criteria does not pull any results, we can be sure that our 2nd query will always pull results(possibly caching?)

Here is one search criteria 'Open Circle Hoop Earrings Polished Stainless Steel Open Circle Hoop Earrings Polished Stainless Steel DiamondShark' This return no results via API.

Amazon sitesinde, ben oldukça alakalı bazı sonuçları ile alternatif önerilerini almak. Bu sonuçlar çekmek için bir yolu var mı?

B. We just need a thumbnail image and a title and description for our app. Which responseGroup is appropriate? We are using medium rt now but there is awful lot of information even with that responseGroup.

Any help is appreciated. thanks

2 Cevap

Aşağıdaki iki ResponseGroups gerekir

Medium ( This will give you the image url, detail url & title )
EditorialReview ( This will give you the Product Description )

Not: Küçük ResponseGroup size Orta neden ihtiyaç olduğu, size bir görüntü vermez

Ben tüm sorulara cevap veremez, ama katkıda bir çift vardır:

A. Eğer isteği Operation=ItemSearch kullandığınızdan emin olun. Ayrıca, ben bir ItemSearch yaparken anahtar kelimeleri virgülle ayrılmış değerleri kullanarak daha güvenilir çalıştığını gördük.

1) Bunu yapan bir şey bulamadım, ama o yok demek değildir. Sen anahtar kelimeleri kırarak alternatif arama oluşturmanız gerekebilir. En az bir sonuç bulmak Ama bir kez benzer öğeleri çekmek için Similarities yanıt grubunu kullanabilirsiniz.

B. Images yanıt grubu öğe ile ilgili farklı boyutlarda görüntüleri dönecektir. Olsa herhangi bir tüccar-katkıda görüntüleri dönmez unutmayın.

İyi şanslar!