Description Usage Arguments Value Examples
The function gets product info from Amazon for a particular product. It fetches the product title, the price, the average rating, the histogram of the reviews, reviews count and product details.
1 | get_product_info(productCode, domain = "com")
|
productCode: |
The Amazon product code. |
domain: |
Domain to use if searching other sites than .com. See |
The function returns a list frame with product information.
1 2 3 | # Get product information for 'The Art of R Programming: A Tour of Statistical Software Design'
product_info <- Rmazon::get_product_info("1593273843")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.