With over 102 000 employees and annual revenue of over 47 billion US dollars, Best Buy is one of the biggest electronic retailers in North America. It now operates 977 stores across Puerto Rico, the United States of America, and Canada while still being headquartered in Minnesota.
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.bestbuy.com/site/samsung-galaxy-s21-ultra-5g-128gb-verizon-navy/6465020.p?skuId=6465020"}'
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.bestbuy.com/site/samsung-galaxy-s21-ultra-5g-128gb-verizon-navy/6465020.p?skuId=6465020",
"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": "Samsung - Galaxy S21 Ultra 5G 128GB (Verizon) - Navy",
"location": "",
"ratingValue": "4.7",
"ratingCount": "88",
"reviews": [
{
"reviewId": "e20cc199-8955-310a-89eb-2c6a1fa169fe",
"customer": {
"username": "Jessica",
"location": "",
"level": "",
"authorUrl": "",
"verified": "",
"helpfulVotes": "0"
},
"title": "Samsung galaxy s21 ultra",
"reviewUrl": "",
"rating": "5",
"text": "I love samsung galaxy s21 ultra it takes amazing pictures.",
"reviewedOn": "2021-11-10",
"photos": [],
"repliedTo": false,
"externalSource": "",
"replies": [],
"followUpReviews": [],
"comments": [],
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null,
"language": ""
}
