How do the JSON output and object table of amazon product reviews API of Unwrangle function?

In this article, I will be focusing on clarifying the object table and JSON output of Unwrangle's Amazon product reviews API. As a reader with programming knowledge and an understanding of object tables and JSON output, it is important to have a clear understanding of these specific data structures to properly utilize the Unwrangle API. By providing a thorough explanation of the object table and JSON output, I aim to provide a comprehensive understanding of the data format and structure, allowing users to better utilize the data provided by Unwrangle's Amazon product reviews API.

API Object and Description Table

ObjectsDescription
success
urlRequested URL for scraping
page
total_results
no_of_pages
result_count
reviews
idRetailer ID of the review
dateDate when review was published
author_nameReviewer's name
author_urlReviewer's retailer profile link
ratingRating by reviewer
review_titleReview title
review_urlLink to review
review_textReview's text content
review_imgsLinks to reviewer's images, if any
meta_dataDict containing meta data like whether purchase is verified and user recommends product. For e.g. verified purchase status
verified_purchase
locationCountry level location of reviewer

The information in the table is useful for anyone who needs to extract and analyze product reviews from an online retailer's website. The table provides a clear and comprehensive list of the objects and their descriptions that can be retrieved using an Amazon product reviews API. This information is particularly valuable for data analysts and researchers who need to understand the structure of the data they are working with in order to effectively extract meaningful insights from it. With this information, they can better understand how to use the API to retrieve the data they need, and also better structure the data for analysis. Additionally, the detailed descriptions of each object can help users to identify which objects contain the data they are interested in and to interpret the data more accurately. Overall, the information in the table is essential for anyone looking to make sense of the vast amounts of product reviews available on Amazon.

JSON REST output

The JSON output is a response from an API that provides information about iPhone 13 reviews on Amazon.com. The response includes a "success" parameter that indicates whether the request was successful or not, a "url" parameter that shows the URL of the Amazon product page, a "page" parameter that indicates the page number, a "total_results" parameter that indicates the total number of reviews available, a "no_of_pages" parameter that indicates the number of pages, a "result_count" parameter that indicates the number of reviews on the current page, and a "reviews" parameter that contains an array of objects that represent individual reviews. Each review object has properties such as the review's ID, date, author name, author URL, rating, review title, review URL, review text, review images, meta data, and location. The response also includes a "meta_data" parameter that contains total ratings for the product. This JSON output can be useful for analyzing the sentiment of reviews, identifying common issues or complaints, and providing insights for product improvement.

{
"success": true,
"url": "https://www.amazon.com/Apple-iPhone-13-128GB-Blue/dp/B09LNX6KQS/",
"page
": 1,
"total_results": 10,
"no_of_pages": 1,
"result_count": 10,
"reviews": [
{
"id": "RGIQ9FIJEL8RU",
"date": "2022-04-02",
"author_name": "cupofjoe",
"author_url": "https://www.amazon.com/gp/profile/amzn1.account.AE3BG7DC5SKCKTMJW7YDNL6EQ4AQ/ref=cm_cr_arp_d_gw_btm?ie=UTF8",
"rating
": 2,
"review_title": "iPhone 13 disappointing, should have kept XS",
"review_url": "https://www.amazon.com/gp/customer-reviews/RGIQ9FIJEL8RU/",
"review_text
": "First I’ll say that I like the MagSafe chargers that are also available on the 12, besides that this phone is worse than the XS. The camera is not good at taking close ups, the battery lasts a day if I have it on low power mode and close apps I’m not using. 5G is obviously not ready for the public and I’ve never had to restart my phones this often either.",
"review_imgs": [],
"meta_data": {
"verified_purchase": false
},
"location": "United States"
},
{
"id": "RF06FKQOWDFPM",
"date": "2022-03-31",
"author_name": "Euniah ",
"author_url": "https://www.amazon.com/gp/profile/amzn1.account.AH4OZVIERMUR7TDT3YC3NWX6JHGQ/ref=cm_cr_arp_d_gw_btm?ie=UTF8",
"rating
": 5,
"review_title": "looks new",
"review_url": "https://www.amazon.com/gp/customer-reviews/RF06FKQOWDFPM/",
"review_text
": "Someone Could barely recognise it as renewed phone looks brand new",
"review_imgs": [],
"meta_data": {
"verified_purchase": true
},
"location": "United States"
},
...
{
"id": "R1XOIN0KQQ0ZWS",
"date": "2022-03-08",
"author_name": "Katrina Weiler",
"author_url": "https://www.amazon.com/gp/profile/amzn1.account.AGUM57Y5ET2HCEBULESUHMGISBUQ/ref=cm_cr_arp_d_gw_btm?ie=UTF8",
"rating
": 5,
"review_title": "amazing iphone",
"review_url": "https://www.amazon.com/gp/customer-reviews/R1XOIN0KQQ0ZWS/",
"review_text
": "The phone itself arrived with extremely small and unnoticeable scratches, the rest of it was perfect. The camera is super high-quality and I didn’t notice any issues with setting it up. Everything works perfectly and I’m extremely excited about my new iPhone. It comes with a charger brick and a charger along with the Sim card remover.",
"review_imgs": [],
"meta_data": {
"verified_purchase": true
},
"location": "United States"
}
],
"meta_data": {
"total_ratings": 25
}
}

Conclusion

In this article, we discussed various topics related to technology and data, including the benefits and risks of artificial intelligence, the importance of data privacy, and the structure and content of a table and a JSON output. We also described and analyzed different aspects of technology and data, such as the functionality and features of various devices and platforms, the use of algorithms and machine learning in different fields, and the impact of technology on society and individuals. Overall, this conversation highlights the complex and evolving nature of technology and data, and the need for ongoing research, education, and critical thinking to navigate and shape these fields in responsible and ethical ways.

Note

You can request access to the Unwrangle Amazon Product Reviews API through the third-party data marketplace of Worldindata. Worldindata is a platform that provides access to various datasets, including Unwrangle's Amazon Product Reviews API. To request access, you need to create an account on the Worldindata platform and submit a request for the Unwrangle Amazon Product Reviews API. Once your request is approved, you will be granted access to the API and can start retrieving product reviews data. It's worth noting that there may be fees associated with using the API, and you should review the pricing and terms of service before requesting access.