Can I use AWS to get product descriptions about Amazon.com retail products?









up vote
1
down vote

favorite












I'm really new with amazon.



What I want to do is to get amazon product descriptions to my localhost server by using product ASIN number and PHP (can i do this???). I haven't done this before and don't know how to perform this action.



I think that just scraping the price from the Amazon website is bad idea and better to use an API. Can I use Amazon AWS for this? I have created an account in https://aws.amazon.com/ (is this the right place?) and see this big screen with many amazon aws options.



Surfing in internet I found some examples but I think I need keyId, secretKey, associateId - to try this example. Can somebody help be get a better understanding of what to do and where to look? Thanks.










share|improve this question























  • Possible duplicate of Amazon products API - Looking for basic overview and information
    – Federico klez Culloca
    16 hours ago






  • 1




    No, its not aws, its mws. Look here developer.amazonservices.com
    – ivion
    16 hours ago















up vote
1
down vote

favorite












I'm really new with amazon.



What I want to do is to get amazon product descriptions to my localhost server by using product ASIN number and PHP (can i do this???). I haven't done this before and don't know how to perform this action.



I think that just scraping the price from the Amazon website is bad idea and better to use an API. Can I use Amazon AWS for this? I have created an account in https://aws.amazon.com/ (is this the right place?) and see this big screen with many amazon aws options.



Surfing in internet I found some examples but I think I need keyId, secretKey, associateId - to try this example. Can somebody help be get a better understanding of what to do and where to look? Thanks.










share|improve this question























  • Possible duplicate of Amazon products API - Looking for basic overview and information
    – Federico klez Culloca
    16 hours ago






  • 1




    No, its not aws, its mws. Look here developer.amazonservices.com
    – ivion
    16 hours ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm really new with amazon.



What I want to do is to get amazon product descriptions to my localhost server by using product ASIN number and PHP (can i do this???). I haven't done this before and don't know how to perform this action.



I think that just scraping the price from the Amazon website is bad idea and better to use an API. Can I use Amazon AWS for this? I have created an account in https://aws.amazon.com/ (is this the right place?) and see this big screen with many amazon aws options.



Surfing in internet I found some examples but I think I need keyId, secretKey, associateId - to try this example. Can somebody help be get a better understanding of what to do and where to look? Thanks.










share|improve this question















I'm really new with amazon.



What I want to do is to get amazon product descriptions to my localhost server by using product ASIN number and PHP (can i do this???). I haven't done this before and don't know how to perform this action.



I think that just scraping the price from the Amazon website is bad idea and better to use an API. Can I use Amazon AWS for this? I have created an account in https://aws.amazon.com/ (is this the right place?) and see this big screen with many amazon aws options.



Surfing in internet I found some examples but I think I need keyId, secretKey, associateId - to try this example. Can somebody help be get a better understanding of what to do and where to look? Thanks.







php amazon-web-services amazon-mws






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 hours ago









Matt D

1,200516




1,200516










asked 16 hours ago









Infed

1414




1414











  • Possible duplicate of Amazon products API - Looking for basic overview and information
    – Federico klez Culloca
    16 hours ago






  • 1




    No, its not aws, its mws. Look here developer.amazonservices.com
    – ivion
    16 hours ago

















  • Possible duplicate of Amazon products API - Looking for basic overview and information
    – Federico klez Culloca
    16 hours ago






  • 1




    No, its not aws, its mws. Look here developer.amazonservices.com
    – ivion
    16 hours ago
















Possible duplicate of Amazon products API - Looking for basic overview and information
– Federico klez Culloca
16 hours ago




Possible duplicate of Amazon products API - Looking for basic overview and information
– Federico klez Culloca
16 hours ago




1




1




No, its not aws, its mws. Look here developer.amazonservices.com
– ivion
16 hours ago





No, its not aws, its mws. Look here developer.amazonservices.com
– ivion
16 hours ago













1 Answer
1






active

oldest

votes

















up vote
3
down vote













If you are not familiar with AWS that's a fair assumption to make.



Actually AWS is completely separate to Amazon.com (the online retailer).



Amazon Web Services (AWS) is a cloud computing platform that allows you to run virtual servers, databases, storage, and many higher level managed services. You should consider running your PHP server on there, a good starting point for absolute beginners is LightSail, where you can create a LAMP stack in minutes.



Back to your original question, to get product details you need to use Amazon Marketplace Web Services (MWS), specifically the GetMatchingProductForId and pass in your ASIN number.



See here for a PHP Example, the important parts of that example, for you to expand on, are:



public function getProductById($ProductID, $IdType = 'ASIN') 
$request = new MarketplaceWebServiceProducts_Model_GetMatchingProductForIdRequest();
$request->setSellerId($this->MySellerId);
$request->setMarketplaceId($this->MyMarketplaceId);
$request->setIdType($IdType);
if (!is_array($ProductID))
$ProductID = array($ProductID);

$idList = new MarketplaceWebServiceProducts_Model_IdListType();
$idList->setId($ProductID);
$request->setIdList($idList);
$response = $this->service->GetMatchingProductForId($request);
return $response;






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53222070%2fcan-i-use-aws-to-get-product-descriptions-about-amazon-com-retail-products%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote













    If you are not familiar with AWS that's a fair assumption to make.



    Actually AWS is completely separate to Amazon.com (the online retailer).



    Amazon Web Services (AWS) is a cloud computing platform that allows you to run virtual servers, databases, storage, and many higher level managed services. You should consider running your PHP server on there, a good starting point for absolute beginners is LightSail, where you can create a LAMP stack in minutes.



    Back to your original question, to get product details you need to use Amazon Marketplace Web Services (MWS), specifically the GetMatchingProductForId and pass in your ASIN number.



    See here for a PHP Example, the important parts of that example, for you to expand on, are:



    public function getProductById($ProductID, $IdType = 'ASIN') 
    $request = new MarketplaceWebServiceProducts_Model_GetMatchingProductForIdRequest();
    $request->setSellerId($this->MySellerId);
    $request->setMarketplaceId($this->MyMarketplaceId);
    $request->setIdType($IdType);
    if (!is_array($ProductID))
    $ProductID = array($ProductID);

    $idList = new MarketplaceWebServiceProducts_Model_IdListType();
    $idList->setId($ProductID);
    $request->setIdList($idList);
    $response = $this->service->GetMatchingProductForId($request);
    return $response;






    share|improve this answer


























      up vote
      3
      down vote













      If you are not familiar with AWS that's a fair assumption to make.



      Actually AWS is completely separate to Amazon.com (the online retailer).



      Amazon Web Services (AWS) is a cloud computing platform that allows you to run virtual servers, databases, storage, and many higher level managed services. You should consider running your PHP server on there, a good starting point for absolute beginners is LightSail, where you can create a LAMP stack in minutes.



      Back to your original question, to get product details you need to use Amazon Marketplace Web Services (MWS), specifically the GetMatchingProductForId and pass in your ASIN number.



      See here for a PHP Example, the important parts of that example, for you to expand on, are:



      public function getProductById($ProductID, $IdType = 'ASIN') 
      $request = new MarketplaceWebServiceProducts_Model_GetMatchingProductForIdRequest();
      $request->setSellerId($this->MySellerId);
      $request->setMarketplaceId($this->MyMarketplaceId);
      $request->setIdType($IdType);
      if (!is_array($ProductID))
      $ProductID = array($ProductID);

      $idList = new MarketplaceWebServiceProducts_Model_IdListType();
      $idList->setId($ProductID);
      $request->setIdList($idList);
      $response = $this->service->GetMatchingProductForId($request);
      return $response;






      share|improve this answer
























        up vote
        3
        down vote










        up vote
        3
        down vote









        If you are not familiar with AWS that's a fair assumption to make.



        Actually AWS is completely separate to Amazon.com (the online retailer).



        Amazon Web Services (AWS) is a cloud computing platform that allows you to run virtual servers, databases, storage, and many higher level managed services. You should consider running your PHP server on there, a good starting point for absolute beginners is LightSail, where you can create a LAMP stack in minutes.



        Back to your original question, to get product details you need to use Amazon Marketplace Web Services (MWS), specifically the GetMatchingProductForId and pass in your ASIN number.



        See here for a PHP Example, the important parts of that example, for you to expand on, are:



        public function getProductById($ProductID, $IdType = 'ASIN') 
        $request = new MarketplaceWebServiceProducts_Model_GetMatchingProductForIdRequest();
        $request->setSellerId($this->MySellerId);
        $request->setMarketplaceId($this->MyMarketplaceId);
        $request->setIdType($IdType);
        if (!is_array($ProductID))
        $ProductID = array($ProductID);

        $idList = new MarketplaceWebServiceProducts_Model_IdListType();
        $idList->setId($ProductID);
        $request->setIdList($idList);
        $response = $this->service->GetMatchingProductForId($request);
        return $response;






        share|improve this answer














        If you are not familiar with AWS that's a fair assumption to make.



        Actually AWS is completely separate to Amazon.com (the online retailer).



        Amazon Web Services (AWS) is a cloud computing platform that allows you to run virtual servers, databases, storage, and many higher level managed services. You should consider running your PHP server on there, a good starting point for absolute beginners is LightSail, where you can create a LAMP stack in minutes.



        Back to your original question, to get product details you need to use Amazon Marketplace Web Services (MWS), specifically the GetMatchingProductForId and pass in your ASIN number.



        See here for a PHP Example, the important parts of that example, for you to expand on, are:



        public function getProductById($ProductID, $IdType = 'ASIN') 
        $request = new MarketplaceWebServiceProducts_Model_GetMatchingProductForIdRequest();
        $request->setSellerId($this->MySellerId);
        $request->setMarketplaceId($this->MyMarketplaceId);
        $request->setIdType($IdType);
        if (!is_array($ProductID))
        $ProductID = array($ProductID);

        $idList = new MarketplaceWebServiceProducts_Model_IdListType();
        $idList->setId($ProductID);
        $request->setIdList($idList);
        $response = $this->service->GetMatchingProductForId($request);
        return $response;







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 11 hours ago

























        answered 14 hours ago









        Matt D

        1,200516




        1,200516



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53222070%2fcan-i-use-aws-to-get-product-descriptions-about-amazon-com-retail-products%23new-answer', 'question_page');

            );

            Post as a guest














































































            這個網誌中的熱門文章

            tkz-euclide: tkzDrawCircle[R] not working

            How to combine Bézier curves to a surface?

            1st Magritte Awards