Wotif is an Australian website focused on providing a reservation service for hotels. Since it was founded in 2003, it grew rapidly and currently stands as one of the top 15.000 most trafficked websites on the internet. Currently, it holds offices in Canada, Malaysia, New Zealand, Singapore, and the United Kingdom and is owned by Expedia.

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.wotif.com/Sebastopol-Hotels-Ramada-Resort-By-Wyndham-Ballarat.h11225349.Hotel-Information”}’

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.wotif.com/Sebastopol-Hotels-Ramada-Resort-By-Wyndham-Ballarat.h11225349.Hotel-Information”,
“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”: “Club Wyndham Ballarat”,
    “location”: “220 Grant Street, Sebastopol, VIC”,
    “ratingValue”: “”,
    “ratingCount”: “4”,
    “ratingStaff”: “5.0”,
    “propertyID”: null,
    “ratingCleanliness”: “5.0”,
    “ratingService”: “5.0”,
    “platform”: “Wotif”,
    “url”: “https://www.wotif.com/Sebastopol-Hotels-Ramada-Resort-By-Wyndham-Ballarat.h11225349.Hotel-Information”,
    “internalReviewId”: null,
    “serviceStaffRating”: “5.0”,
    “phone”: “1800 796 370”,
    “ratingComfort”: “5.0”,
    “facilitiesHotelConditionRating”: “4.5”,
    “recommendationRating”: null,
    “reviews”: [
        {
            “reviewId”: “5a35cd9352e8e10ddb8496da”,
            “customer”: {
                “username”: “a verified traveller”,
                “location”: null,
                “level”: null
            },
            “rating”: “5”,
            “text”: “The appartment was excellent. Room was large and (…)”,
            “liked”: null,
            “disliked”: null,
            “reviewedOn”: “17 Dec, 2017”,
        }
    ]
}
WotifReviewJLAFinal