Since its founding in 1883, Kroger grew rapidly to become United States' largest supermarket chain by revenue and the second-largest general retailer behind Walmart. Its headquarters are still located in Cincinnati, Ohio. They employ over 465.000 people in 2868 locations.
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.kroger.com/p/dentalife-large-daily-oral-care-dog-treats/0001780017413"}'
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.kroger.com/p/dentalife-large-daily-oral-care-dog-treats/0001780017413",
"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": "DentaLife® Daily Oral Care Large Dog Dental Chews",
"location": "",
"ratingValue": "4.6",
"ratingCount": "116",
"reviews": [
{
"reviewId": "232662033",
"customer": {
"username": "sadnichole",
"location": "",
"level": "",
"authorUrl": "",
"verified": "",
"helpfulVotes": ""
},
"title": "",
"reviewUrl": "",
"rating": "5",
"text": "This review was collected as part of a promotion.] My dog is (...)",
"reviewedOn": "2021-02-03",
"photos": [],
"repliedTo": false,
"externalSource": "",
"replies": [],
"followUpReviews": [],
"comments": [],
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null,
"language": ""
}]}
