HvacDirect is a retailer, specializing in wholesale pricing on heating and cooling equipment with over 75 years of experience.

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://hvacdirect.com/perfect-aire-12-000-btu-air-conditioner-ptac-with-5000-watt-electric-heater-1ptc12a-5-0.html"}'

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://hvacdirect.com/perfect-aire-12-000-btu-air-conditioner-ptac-with-5000-watt-electric-heater-1ptc12a-5-0.html",
"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": "Perfect Aire 12,000 BTU PTAC Air Conditioner with 5KW Electric Heater",
"location": "",
"ratingValue": "4.65",
"ratingCount": "1",
"reviews": [{
"reviewId": "reviewId57839",
"customer": {
"username": "James",
"location": "",
"level": "",
"authorUrl": "",
"verified": "",
"helpfulVotes": ""},
"title": "Its r 3rd heater not all this brand. A lot more quite than all the rest.",
"reviewUrl": "",
"rating": "4.65",
"text": "Works great so far",
"reviewedOn": "2018-10-01",
"photos": [],
"repliedTo": false,
"externalSource": "",
"replies": [],
"followUpReviews": [],
"comments": [],
"selfReview": null,
"commentsCount": null,
"reviewerPhoto": null,
"language": ""
}]}