Comments (3)
solucionado con Lookup!!
from apai-io.
Have you tried the scratchpad to make sure the API is returning results for that particular product?
http://webservices.amazon.com/scratchpad/index.html
from apai-io.
Just in case people does not know and stumble across this issue, here's the way to lookup product by ASIN:
$conf = new GenericConfiguration();
$client = new Client();
$request = new GuzzleRequest($client);
$conf->setCountry('es') // or com, co.uk, .....
->setResponseTransformer(new XmlToSimpleXmlObjectTransformer()) // Optional
->setAccessKey('xxxxxxx') // your access key from aws
->setSecretKey('xxxxxx') // your secret key from aws
->setAssociateTag('xxxxxxxx') // if you have an affiliate id
->setRequest($request);
$apaiio = new ApaiIO($conf); // use ApaiIO\ApaiIO;
$itemLookup = new Lookup(); // use ApaiIO\Operations\Lookup;
$itemLookup->setItemId('B013UDL5RU');
$itemLookup->setResponseGroup(['ItemAttributes', 'Images', 'OfferSummary']); // whatever information you want to receive
$apaiio->runOperation($itemLookup);
I suggest mantainers to close this issue.
from apai-io.
Related Issues (20)
- AWS.Invalid (truncated...) HOT 5
- SignatureDoesNotMatch HOT 2
- 400 Bad Request - Request has expired HOT 1
- when no category defined, no results
- condition = 'used' should be 'Used'
- Question: Catching errors HOT 1
- Restricting "Similar" Results by Node
- how to use without composer? HOT 1
- GuzzleHttp\Exception\ServerException HOT 2
- Detailed Release Notes HOT 1
- amazon country
- Dynamically Insert Value base on User Request
- why does setPage have a limit of 10?
- Error 503 Service Unavailable HOT 6
- Problem when using in two plugins at the same time
- Technical question
- Product Advertising API 5.0 HOT 29
- RequestException.php throwing an error? HOT 1
- Guzzle 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apai-io.