eMAG  is a Romanian company owned by  Naspers  , which sells online IT equipment and components, electronics, home appliances, personal care items, automotive products, sporting goods, books, music, movies, furniture and household products. garden, petshop, children's items, toys.

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": "http://www.emag.ro/scutece-pampers-active-baby-3-midi-xxl-box-208-buc-8001090172518/pd/D095Q2BBM/"}'

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":"http://www.emag.ro/scutece-pampers-active-baby-3-midi-xxl-box-208-buc-8001090172518/pd/D095Q2BBM/",
"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": "Scutece Pampers Active Baby XXL BOX, Marimea 3, 6 -10 kg, 208 buc",
"location": "",
"ratingValue": "4.34",
"ratingCount": "571",
"reviews": [
{
"reviewId": "6595564",
"customer": {
"username": "Mardare alexandru",
"location": "",
"level": "",
"authorUrl": "",
"verified": "",
"helpfulVotes": ""
},
"title": "Excelent",
"reviewUrl": null,
"rating": "5",
"text": "5 STELE LIVRARE FOARTE RAPIDA",
"reviewedOn": "2022-01-06",
"photos": null,
"repliedTo": null,
"externalSource": null,
"replies": [],
"followUpReviews": null,
"comments": null,
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null,
"language": null
}

justLikeAPI_Review_EmagFinal