is an alternative to the provided to Amazon Associates. If you are thiking of building sites with Amazon links and you don’t have an , or if you want to build a lot of pages very quickly without limitation, using is the answer. If you are serious about earning money as an Amazon Affiliate and want to make do yourself a favor and start the project off right. Rainforest API Amazon Product API shopping comparisson API key Rainforest API thousands of pages, limit is tied to your and number of . The last thing you need is Amazon your site and limiting your revenue. Consider building using the . Amazon’s API revenue calls throttling Rainforest API Many companies choose to run no matter what the project. Creating engines or are not the first thing most people think of when they think of the CMS. However, when you look at and other highly functional plugins, you can see why companies are ensisting WordPress be used in all applications even if its not the easiest integration. has excellent documentation, but their documentation begins with the and ends with the . The guide is for the . WordPress shopping comparison top product lists WordPress WooCommerce Rainforest API call output WordPress user How To This “ ” guide will walk you through creating and displaying data on a page. By the end of the guide you will have a the for the category “Musical Instruments”. Once you have completed this guide you will be comfortable working with the to output data to How To API calls WordPress page displaying Top 10 products API Wordress pages. What You Need Domain Name Cloud Instance With Installed ( Is Great). WordPress Vultr Free Account From .Free Rainforest API Json-Content-Importer Plugin for WordPressCode and Instructions Provided Below Getting Started Sign into WordPress as .Click on , Then Plugin. Admin Plugins Add New Search for , and . Json Content Importer Install Activate If you are using a make sure it is setup to automatically or make sure you when testing. caching plugin detect changes clear your cache Click on then “ “, give your page the title . Pages Add New Top 10 Musical Instrument Best Sellers List Click on . , it should be empy with showing. Publish View your page no errors Leave the tab with your WordPress site open. and On one go to and the other go to . open two additional tabs. rainforestapi.com amazon.com How To Get Your API Link 1. At click on “ ” and you used when you signed up. and . rainforestapi.com Log in enter the credentials If you haven’t signed up, do so now login 2. Click on on the left side of the screen. API Playground 3. Go to in your other open browser tab and navigate to the Amazon.com Best Sellers https://www.amazon.com/Best-Sellers/zgbs/ 4. Click on on the left hand side. Musical Instruments 5. from the Musical Instruments Best Sellers page and navigate back to the tab thats open in your browser. Copy the URL Rainforest API You should still be in the API Playground (if not click on it). 7. The first box in API Playground says and has set by default. Select Dropdown Type Product BestSellers from the drop down list. 8. In the box from the Musical Instrument Best Seller list we copied from : URL paste the link Amazon.com https://www.amazon.com/Best-Sellers-Musical-Instruments/zgbs/musical-instruments/ref=zg_bs_nav_0 9. The rest of the boxes on this page should be blank except for which should be and which is your . You can find this ID by logging in to your Amazon Associates account, or leave blank if you dont have one yet. output JSON Associate ID Amazon Associate ID 10. Press the button. Send API Request 11. Scroll up to the . You should have the from the displaying on the right hand side. You will see in the something called , this contains all the information needed. on this and on one of the to display the single product information. top of the page output API request output bestsellers array Click array click numbers * Note that inside bestsellers there is another array called price. The code accesses the price array to demonstrate this with the JSON Content Importer shortcode for WordPress. 12. In the Rainforest API dashboard on “ “. click Code Sample 13. Rainforest API offers in , Curl, Node.JS, Python and PHP. For our purposes, and click the to copy the to . , the should begin with — the Amazon link from earlier. Code Samples URL select URL copy button URL clipboard Paste this URL somewhere safe URL https://api.rainforestapi.com NOT Configuring WordPress For Rainforest API 14. back to the browser tab that has your open. the you created earlier called . Go WordPress session Open page Top 10 Musical Instrument Best Seller List 15. Copy the code between the leading /* and ending */ comment tags: /* [jsoncontentimporter ”https://api.ra orestapi.com/request? XXXXXXXXXXXXXXXXXXX&amp; bestsellers&amp; quadrant0d- &amp; json&amp; https% A% F% Fwww.amazon.com% FBest-Sellers-Musical-Instruments% Fzgbs% Fmusical-instruments% Fref% Dzg_bs_nav_0”] & ;div & ; & ;table & ; & ;tr& ;& ;td& ;& ;hr& ;& ;/td& ;& ;/tr& ; {subloop-array:bestsellers: }{subloop:bestsellers.price: } & ;tr& ; & ;td& ;& ;b& ;& ;center& ;{bestsellers.rank}. & ;/b& ;& ;a & ;{bestsellers.title}& ;/a& ;& ;/center& ;& ;/td& ; & ;/tr& ; & ;tr& ; & ;td& ;& ;center& ;& ;a & ;& ;img & ;& ;/a& ;& ;/center& ;& ;/td& ; & ;/tr& ; & ;tr& ; & ;td& ;& ;center& ;& ;b& ;Rating: {bestsellers.rating}& ;/b& ;& ;/center& ;& ;/td& ; & ;/tr& ; & ;tr& ; & ;td& ;& ;center& ;& ;a & ;& ;b& ;{bestsellers.price.raw}& ;/b& ;& ;/td& ; & ;/tr& ; & ;tr& ; & ;td& ;& ;center& ;& ;img & ;& ;/center& ;& ;/a& ;& ;/b& ;& ;/center& ;& ;/td& ; & ;/tr& ; & ;tr& ;& ;td& ;& ;hr& ;& ;/td& ;& ;/tr& ; {/subloop:bestsellers.price}{/subloop-array:bestsellers}& ;/table& ;& ;/div& ; [/jsoncontentimporter] */ <code class="markup--code markup--pre-code"> url= inf api_key= type= associate_id= 20 output= url= 3 2 2 2 2 2 2 3 <br> lt style= "overflow-x:auto;" gt <br> lt class= "tenstyletable" gt <br> lt gt lt gt lt gt lt gt lt gt <br> 10 10 <br> lt gt <br> lt gt lt gt lt gt lt gt lt href= "{bestsellers.link}" rel= "nofollow" gt lt gt lt gt lt gt <br> lt gt <br> lt gt <br> lt gt lt gt lt href= "{bestsellers.link}" rel= "nofollow" gt lt src= "{bestsellers.image}" gt lt gt lt gt lt gt <br> lt gt <br> lt gt <br> lt gt lt gt lt gt lt gt lt gt lt gt <br> lt gt <br> lt gt <br> lt gt lt gt lt href= "{bestsellers.link}" rel= "nofollow" gt lt gt lt gt lt gt <br> lt gt <br> lt gt <br> lt gt lt gt lt src= "https://i.ibb.co/wMt3hy2/homebtn-1.jpg" gt lt gt lt gt lt gt lt gt lt gt <br> lt gt <br> lt gt lt gt lt gt lt gt lt gt <br> lt gt lt gt <br> </code> 16. the after with the you copied from when we sent the request for the . At this point the code should start displaying products if you preview the post. to see the finished example. Replace URL [jsoncontentimporter url=” URL Rainforest API Top 10 Musical Instrument Best Seller List Click Here As an alternative , you can simply replace the XXXXXXXX’s in the above code with your API key . 17. The product list will likely look malformed, but the data should show up. If you look at the code, is defined by the tag. We need to to to style the table. class=”tenstyletable” table add CSS Worpress 18. On your page, click on the WordPress , then click on , and paste the following code: Top 10 Musical Instruments customize Admin bar Additional CSS < class= > {<br> : collapse;<br> : table-cell;<br> : middle;<br> : ;<br>}</code> code "markup--code markup--pre-code" table .tenstyletable td border-collapse display vertical-align border 0 19. Your table should now be showing the list. If your formatting is off simply adjust the CSS. to see an example page. Top 10 Click Here This guide provides the logic to build out more complicated pages using the and . With a few to the above, you can display other information the feed provides or change the way the is handled. If you want to increase the the number of products displayed for example, simply the in and — instead of 10 use a another number. Rainforest API WordPress minor changes boilerplate code JSON output change numbers {subloop-array:bestsellers:10} {subloop:bestsellers.price:10} For more be sure to read the documents. advanced configurations JSON-content-importer