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

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

Related

BIM 360 - Is it possible to find the project id (and additional info) that a resource belongs to if all you have is the urn

We have the urn of a file that we would like to find the id of the project that it belongs to in a clients account as well as the version id. We could always do a recursive search across all of the hubs until we find it, but that would take a long time and several calls. Is there any api that we could use to find that info quickly?
Thank you in advance
Unfortunately, no API supports finding the project id by the given version or item urn. You must store the project id aside urn together.

Riot Api - How can I bring the data of user in other regions?

I am trying to get user data from other regions using Riot Api
I am able to get a data from North America region but not able to bring user data from other regions such as Brazil.
I have found about regional endpoints but how I can use this to bring user data from specific region?
You have some options here:
Option #1: If you use Riot's UI in the Full Api Reference, then there is a dropdown list for every endpoint to select a different region from:
Option #2: If you build the request URL yourself, then you have to use the specific host from the table for regional endpoints. So, for example, if you want to see the featured games list for the brazil region, then you have to get the host 'br1.api.riotgames.com', add the endpoint '/lol/spectator/v4/featured-games' to it and add your apikey as a query paramater. Like that:
https://br1.api.riotgames.com/lol/spectator/v4/featured-games?api_key=<your_apikey>
That option is described here.
Option #3: Use one of the many api wrappers in your favourite programming language. I myself am using this one in Java. With such an api wrapper you can make a request for featured games like that:
ApiConfig config = new ApiConfig().setKey(<your_apikey>);
FeaturedGames games = RiotApi(config).getFeaturedGames(Platorm.BR1);

Google API key Vs. Google Client ID

One of our customers is using google maps with a "Client ID". We've developed our product using the Google API Key. All of the features of the map are working properly using the API key, but we are unable to confirm that the client will get the same results with the Client ID since we do not have one. Two question, do you believe that the features will work the same using either the API or the Client ID? Second question, how much does it cost to purchase a Client ID?
Client IDs and API Keys are forms of authentication and authorization. There are easy-to-follow guidelines on their proper usage and their limits. Everything you need to know about them can be found in the documentation (also try seeing the docs per product in the 'For more information' section):
https://developers.google.com/maps/premium/overview#authentication_and_authorization
Related SO post and answer about using Client IDs for their Javascript API:
google maps api javascript usage
For pricing, read more about it here:
https://developers.google.com/maps/pricing-and-plans/
EDIT: There has been recent Google Maps Platform pricing and product changes You'll always need an API key and a valid billing account associated to your Project if you want to use the Google Maps Platform APIs. If you've never had a Client ID then you don't need to worry about it, just continue using your API keys.
You may run into some APIs (i.e. Speed Limits API) that seem to need a Premium Plan account. If you really need access to these, simply contact sales using this form.
P.S.
When using API keys, be sure to properly restrict them!

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.

Google Places API - downloading user reviews and star ratings

TL;DR - I need help using Google Places API to download star ratings and user reviews of multiple stores and I am too dumb to figure out what I am suppose to be doing. Please help!
For the life of me, this has been hard to find any sort of useful info or documentation in terms of trying to download user ratings and star reviews from multiple locations. Just to give you a bit of info, I work for a company that has three major brands with over 500 stores across the country. We have multiple listings and our senior stakeholders are wanting to get their hands on what our customers are saying about our brand and particularly see who are top performing stores are (and who are NOT are top performers) in the form of star ratings and user reviews.
Now to get those sorts of insights is pretty easy to do for one location, but for multiple? It seems Google doesn't have that feature on hand.
According to the Google Community, I would need to use Google My Business API (see thread 1) However Google Support told me that for what I am looking to do required Google Places API. So after heading over there, I found this which makes this the most possible way I can get what I need Google Places API
Now I am stuck at the part about loading libraries. Darnit, surely there is a way I can just make an API request to get what I want, no?
I am throwing myself on the mercy of you smart people (I have the basic knowledge and I am a person who learns by doing) so your assistances will be deeply appreciated.
Using Places API web service you can get up to 5 reviews when you execute a place detail request. Rating is also available in the response.
Please have a look at the documentation:
https://developers.google.com/places/web-service/details#PlaceDetailsResults
Currently, there is no way to get more than 5 reviews in Places API. You can see a feature request in the public issue tracker, however, it looks like Google didn't set a high priority on this task:
https://issuetracker.google.com/issues/35825957
If you are the owner of the place in Google My Business, you can use Google My Business API to retrieve a list of all reviews for your place:
https://developers.google.com/my-business/content/review-data
Hope it helps!