Amazon API to search product in several categories? - amazon-product-api

How can I search product in several categories by product name
using amazon API?
I tried to use this
http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemSearch.html , but not sure if there is a way to put several category ids in request?

Related

I want to get products or asins from keyword using AWS API

How can I get detailed product information or asins from search keyword using AWS Advertising Product API5?

Get only products with images using Amazon Product API

Is it possible with the Amazon Product API to return items from Amazon that have images using ItemSearch and ignore products that do not have images?
http://docs.aws.amazon.com/AWSECommerceService/latest/DG/ItemSearch.html
The Amazon Product API does not allow us to filter the search results. It only allows searching a given index by keywords.
To only get results with images, you will have to write code that discards results with no images.

How to query photos/files by album using Drive REST API V3

Is it possible to query Drive files from the photos space using the REST API by album. I don't see my album names in any of the listed fields when I query the files, so I'm not sure what to filter q on.
I'm currently querying with the rest API like:
https://www.googleapis.com/drive/v3/files?spaces=photos&fields=files
This returns a list of fields. None of which contain any names of my albums (some are in Google Photos albums, some not). If any did I would just add &q=[field=value] to the query string. So I'm not sure if this is possible and I'm not finding any information on how to go about it at all.
If it is possible, how?
In https://photos.google.com/settings enable "Google Drive Show Google Drive photos & videos in your Photos library"
In your files.list, you need a spaces=photos

Random Articles Within Category WikiMedia API

How would I go about getting a random article within a category using the WikiMedia API?
Documentation on getting a random article can be found here.
Documentation on getting a list of pages that belong to a given category, ordered by page sort title can be found here.
There's no way to get it from the API directly, so your best option is to get members of the category and then randomise on the client or on the server. This is implemented on the Special:RandomInCategory page.

Amazon Product Advertising API, how to tell if product is supplied by Amazon

I'm using the Amazon Product Advertising API to get products for my site. I need to be able to tell if the new items in the response are coming from Amazon or from a third party. It appears that until 11/01/2012 API this was possible through:
<ItemLookupResponse>
<Items>
<Item>
<Offers>
<Offer>
<Merchant>
<MerchantId>ATVPDKIKX0DER</MerchantId>
<Name>Amazon.com</Name>
However the MerchantId has now been removed from the Offers response group in the API.
IsFulfilledByAmazon is another one which has been removed.
The only thing I can find now which could determine if the item was provided by Amazon would be:
<Offer>
<OfferListing>
<IsEligibleForSuperSaverShipping>1</IsEligibleForSuperSaverShipping>
, as items with SuperSaverShipping are always supplied by Amazon - but I'm not sure if this is reliable?
Any one got a better idea how to do this?
There is an old article before the API change about how to do this, but is now outdated:Amazon Product Advertising API, how do I know which product belongs to amazon and which belongs to amazon market place
Well you can filter the results by setting the MerchantId in the request to "Amazon".
This will return only the offers which are offered by the Amazon merchant.
Notice that you can only set this variable to be "Amazon" or "All"...