Tesco could be best described as a British multinational retailer. Currently, it stands as a third largest retail chain in the entire world by gross revenue alone. As of 2021, it has over 4673 shops in 5 countries and a workforce of 367 321 employees.

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.tesco.com/groceries/en-GB/products/307345934"}'

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.tesco.com/groceries/en-GB/products/307345934",
"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": "Harringtons Turkey & Vegetable Complete Dog Food 12Kg",
"location": "",
"ratingValue": "4.9",
"ratingCount": "19",
"reviews": [
{
"reviewId": "88e03cc8-0c82-4f7b-84b7-d28c47d013e3",
"customer": {
"username": "A Tesco Customer",
"location": "",
"level": "",
"authorUrl": "",
"verified": "",
"helpfulVotes": ""
},
"title": "Great New Size",
"reviewUrl": "",
"rating": "5",
"text": "Great to see Tesco stocking this new bigger size. My dog loves it excellent food that contains no rubbish",
"reviewedOn": "2020-11-28",
"photos": [],
"repliedTo": false,
"externalSource": "",
"replies": [],
"followUpReviews": [],
"comments": [],
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null,
"language": ""
}