GithubHelp home page GithubHelp logo

Search for ASIN about apai-io HOT 3 CLOSED

israel78 avatar israel78 commented on June 12, 2024
Search for ASIN

from apai-io.

Comments (3)

israel78 avatar israel78 commented on June 12, 2024

solucionado con Lookup!!

from apai-io.

dingman avatar dingman commented on June 12, 2024

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.

gerardnll avatar gerardnll commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.