OpenTable is an online restaurant-reservation service company founded on 2 July 1998 and is based in San Francisco, California. It provides online reservations for more than 60,000 restaurants around the world and seats over 1 billion diners per year.  Its home market consists of the United States but it has eventually expanded to include Australia, Canada, France, Germany, Japan, Mexico, and the United Kingdom.

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.opentable.com/r/sono-wood-fired-columbus?corrid=50a91d3b-2052-4163-bb83-609a9d14f95c&avt=eyJ2IjoyLCJtIjoxLCJwIjowLCJzIjowLCJuIjowfQ&p=2&sd=2021-10-25T19%3A00%3A00"}'

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.opentable.com/r/sono-wood-fired-columbus?corrid=50a91d3b-2052-4163-bb83-609a9d14f95c&avt=eyJ2IjoyLCJtIjoxLCJwIjowLCJzIjowLCJuIjowfQ&p=2&sd=2021-10-25T19%3A00%3A00",
"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": "Sono Wood Fired",
    "location": null,
    "ratingValue": "4",
    "ratingCount": "33",
    "reviews": [
        {
            "reviewId": null,
            "customer": {
                "username": "OpenTable Diner",
                "location": "Columbus",
                "level": null
            },
            "title": null,
            "rating": "4",
            "text": "Food was good but a bit (...)",
            "reviewedOn": "2021-11-26",
            "photos": null,
            "repliedTo": null,
            "externalSource": null,
            "replies": null,
            "followUpReviews": null,
            "comments": null,
            "selfReview": null,
            "commentsCount": null,
            "reviewerPhoto": null
        }
    ]
}