HomeAdvisor  is a digital marketplace that connects homeowners with prescreened, local service professionals to complete home improvement, maintenance and remodeling projects. HomeAdvisor also offers homeowners home improvement project planning resources like True Cost Guide, where customers can view average project costs. HomeAdvisor is a free resource for homeowners, and a paid network for service professionals .

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.homeadvisor.com/rated.HomeWarrantyofAmerica.53286947.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://www.homeadvisor.com/rated.
HomeWarrantyofAmerica.53286947.html”,
“datefrom”:”2018-03-10″ *
}

*  “datefrom” is optional

Base URL : https://justlikeapi.io/reviews/get

Parameter content type: application/json

Response

{
        “propertyName”: “Royal Construction, Inc.”,
        “location”: “NYC, NY”,
        “reviews”: [
              {
                       “reviewId”: “1324325”,
                       “customer”: {
                               “username”: “”,
                               “location”: null,
                               “level”: null
                        },
                        “title”: ”  “,
                        “rating”: “5”,
                        “text”: “Royal did a fabulous job on remodeling project. “,
                        “reviewedOn”: “2018-03-10”,
                        “photos”: null,
                        “repliedTo”: true,
                        “externalSource”: null,
                        “replies”: [
                                {
                                      “repliedBy”: “Royal Construction”,
                                      “text”: “Thanks for sharing your experience with us”
                                 }
                                        ]
            }
                          ]
}

Verify method will return propertyURL. This would be general information of that property. Bellow is a code example of request and response for Verify method:

Request

{
“propertyUrl”:”https://www.homeadvisor.com/rated.HomeWarrantyofAmerica.53286947.html”,
}

Base URL : https://justlikeapi.io/reviews/verify

Parameter content type: application/json

Response

{
“valid”:true,
“title”:”Royal Construction,inc”,
“address”:”862 Bronson St”,
“phoneNumber”:”555-5555″,
“websiteURL”:”royalconstinc.com”,
“categories”:”Construction, Interior, Home”
}

Get leads method will return all active leads from the HomeAdvisor. Leads will be ordered by date and can include information from the code example bellow:

Request:

{
“propertyUrl”:”https://www.homeadvisor.com”
“username”:”justIG”,
“password”:”asdw123″,
“datefrom”:”2017-10-10″ *
}

*  “datefrom” is optional

Base URL : https://justlikeapi.io/reviews/get

Parameter content type: application/json

Response:

{
   “propertyName”: “Construction”,
   “leads”: [
         {
               “leadId”: “555”,
               “name”: ” Name”,
               “email”: “email@justlikeapi.io”,
                “cellPhone”: “555-555”,
               “dayTime”: “555-555”,
               “evening”: null,
                “job”: “123456”,
                “jobFree”: “10”,
                “address”: “5th Avenue”,
                “dateCreated”: “2017-10-10”,
        }

]

}

Write operations

Executing the below request will write/overwrite the content with the content given in the sample code bellow:

Request

{
“propertyUrl”:”https://www.homeadvisor.com/review”,
“reviewId”:”49416187″,
“username”:”constructionsinc”,
“password”:”asd6582qA”,
“businessRole”:”Royal Construction”,
“text”:”Thank you for your review!”
}

Base URL : https://justlikeapi.io/reviews/respond

Parameter content type: application/json

Response

{
“success”:true
}