I want to get products or asins from keyword using AWS API - amazon-product-api

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

Related

Select Google place detail fields

I'm using the Google Places API to get details about certain places.
I would like to be able to limit the number of fields returned by the detail of a place. For example, get the Google Places API to return only the name, phone number and location of a place.
I read this article from the documentation but, it does not talk about it:
https://developers.google.com/places/web-service/details?hl=es-419
Any ideas ?
The ability to define which fields should be available in the response of Places API web service will become effective today, June 11 2018 or within next days.
I can see that you are checking Spanish version of documentation. Usually localized translations of Google Maps documentation are outdated. I would suggest always checking only English version. However, as I can see Google didn't update English version yet. I would expect an updated documentation within a couple of days.
In the meantime you can find explanations regarding fields in the user guide related to the transition to Google Maps Platform.
https://cloud.google.com/maps-platform/user-guide/product-changes/#frequently-asked-questions
According to the user guide,
Places Details requests will be updated to return only the fields that you specify. Currently when you make a Places Details request, the API returns all of the available data associated with the specified place. With this change, the response is limited to only those fields specified using the fields parameter.
The fields correspond to Places Details results, and are divided into three billing categories: Basic, Contact, and Atmosphere. The cost for each request varies depending on which fields are selected;
The Basic category does not result in any additional charge and includes the following fields:
place_id, name, type, address_components, formatted_address, url, utc_offset, permanently_closed, geometry.location, geometry.viewport, photo.photo_reference, icon, types, adr_address, scope, vicinity
The Contact category results in an additional charge and includes the following fields:
opening_hours.weekday_text, opening_hours.open_now, opening_hours.period, website, formatted_phone_number, international_phone_number
The Atmosphere category results in an additional charge and includes the following fields:
price_level, rating, reviews
Based on this documentation you should create the following request
https://maps.googleapis.com/maps/api/place/details/json?placeid=YOUR_PLACE_ID&fields=name,formatted_phone_number,geometry.location&key=YOUR_API_KEY
I've just tried this request, but it looks like Google didn't switch on fields filter yet. I'm getting all fields in the response. I believe it just matter of days to see this functionality in action.
I hope this helps!

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.

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