The Knot Inc., Weddings for the Real World, is one of the world’s leading wedding media and services companies, providing today’s to-be-weds with comprehensive wedding planning information, interactive tools, and resources. With a fresh voice and real-world sensibility, The Knot has extended its brand to every venue brides and grooms turn to plan their weddings — online at the #1 wedding website, TheKnot.com, and on newsstands and in bookstores nationwide.

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.theknot.com/marketplace/weddings-performed-minister-lynn-turner-and-associates-deer-park-tx-548257”}’

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.theknot.com/marketplace/weddings-performed-minister-lynn-turner-and-associates-deer-park-tx-548257″,
“username”:”happyWedding”,
“password”:”bridelovely”
“datefrom”:”2018-03-10″ *
}

*  “datefrom” is optional

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

Parameter content type: application/json

Response

{
        “propertyName”: “Weddingplanner”,
        “location”: “London,Uk”,
        “reviews”: [
              {
                       “reviewId”: “1324325”,
                       “customer”: {
                               “username”: “”,
                               “location”: null,
                               “level”: null
                        },
                        “title”: “Great service!”,
                        “rating”: “5”,
                        “text”: “The staff provided exceptional service!”,
                        “reviewedOn”: “2018-08-03”,
                        “photos”: null,
                        “repliedTo”: true,
                        “externalSource”: null,
                        “replies”: [
                                {
                                      “repliedBy”: “Weddingplanner”,
                                      “text”: “Thank you for your feedback.”
                                 }
                                       ]
                          }
            ]
}

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.theknot.com/marketplace/weddings-performed-minister-lynn-turner-and-associates-deer-park-tx-548257″
}

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

Parameter content type: application/json

Response

{
“valid”:true,
“title”:”Wedding”,
“address”:”Oxford Street 9″,
“phoneNumber”:”555-5555″,
“websiteURL”:”weddingplanning.me”,
“categories”:”A la Carte Wedding Planning, Honeymoon Planning”
}

Write operations

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

Request

{
“propertyUrl”:”https://partners.theknot.com/profiles/dashboard/index/c3sdf”,
“username”:”happyWedding”,
“password”:”bridelovely”,
“reviewId”:”49416187″,
“businessRole”:”Wedding Manager”,
“text”:”Thank you for your review!”
}

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

Parameter content type: application/json

Response

{
“success”:true
}