Even though it's of the largest companies in the U.S and the world, Amazon still heavily relies on retail which made it big in the first place. Since its launch in March 1999, it became synonymous with online shopping and now offers a far wider assortment of products than just books. It branched in many different directions with innovations like Amazon Prime and is only getting more popular around the world, with every passing year.
Submitting the API request
This is sample CURL request you can use to test JustLikeAPI features.
Please make sure to replace:
- YOUR_API_KEY with the one you received from our support team
- PAGE_SPECIFIC_URL - with the endpoint of the method you're trying to invoke
- JSON payload - with the contents of your request (the sample payload for each request is given below)
curl -X POST https://api.justlikeapi.io/reviews/get -H 'authorization: Bearer YOUR_API_KEY' -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{ "propertyUrl": "https://www.amazon.com/Remanufactured-Cartridges-Replacement-Cartridge-tri-Color/dp/B08RJ12BBY/ref=sr_1_124?_encoding=UTF8&c=ts&dchild=1&keywords=Computer+Printer+Ink+%26+Toner&qid=1627894447&s=office-products&sr=1-124&ts_id=172638"}'
Read operations
Get method will pull in reviews for platform of your choice. Reviews will be ordered by date and can include information from the code example bellow:
Request
{
"propertyUrl":""https://www.amazon.com/Remanufactured-Cartridges-Replacement-Cartridge-tri-Color/dp/B08RJ12BBY/ref=sr_1_124?_encoding=UTF8&c=ts&dchild=1&keywords=Computer+Printer+Ink+%26+Toner&qid=1627894447&s=office-products&sr=1-124&ts_id=172638",
"dateFrom": "2018-03-10", *
"reviewLimit" : "1" **
}
* "dateFrom" is optional
** "reviewLimit" is optional
Base URL : https://justlikeapi.io/reviews/get
Parameter content type: application/json
Response
{
"propertyName": "2 Pack High Yield KAMOINC Remanufactured 65xl Ink Cartridges (...)",
"location": null,
"ratingValue": "4.7",
"ratingCount": "11",
"reviews": [
{
"reviewId": "R7H2MQ4DASS42",
"customer": {
"username": "Kyle Alberson",
"location": null,
"level": null
},
"title": "Great value",
"rating": "4.0",
"text": "Works great. Print pages look great.",
"reviewedOn": " February 7, 2021",
"photos": null,
"repliedTo": null,
"externalSource": null,
"replies": null,
"followUpReviews": null,
"comments": null,
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null
}
]
}
