Get only products with images using Amazon Product API - 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.

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?

How to get more than 20 Instagram locations via API?

Using
"https://api.instagram.com/v1/locations/search?lat={LATITUDE}&lng={LONGITUDE}&access_token={ACCESS-TOKEN}"
I only seem to be able to get 20 results, although I can tell there are more than that many locations by looking on the Instagram app. There is no pagination information provided, and adding
&dist={DISTANCE}
does not seem to have any effect on the results whatsoever.
Any help is appreciated!
In the end, the best solution I found was to get the most recent media within a certain radius, using:
https://api.instagram.com/v1/media/search?lat={LATITUDE}&lng={LONGITUDE}&distance={DISTANCE}&access_token={ACCESS_TOKEN}&count={COUNT}
then query the locations each of those photos were from (having removed duplicates) to get more images from each location, using:
https://api.instagram.com/v1/locations/{LOCATION_ID}/media/recent?access_token={ACCESS_TOKEN}
This is the only way I could find to get many images from more than 20 locations! Basically, I'm performing a location search through the media by location search.
api endpoint
You have to call the url given inside pagination key to get more results

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 API to search product in several categories?

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?

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"...