Zomato is a restaurant search and discovery service founded in 2008. It currently operates in 23 countries, including IndiaAustralia, and United States. It provides information and reviews on restaurants, including images of menus where the restaurant does not have its own website.

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.zomato.com/ncr/delhi-grill-company-chhatarpur-new-delhi/reviews"}'

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.zomato.com/ncr/delhi-grill-company-chhatarpur-new-delhi/reviews",
"dateFrom":"2018-03-10", *
“reviewLimit”:”1″ **
}

*  "dateFrom" is optional

** “reviewLimit” is also optional (retrieves a specified number of reviews)

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

Parameter content type: application/json

Response

{
        "propertyName": " Manolo Restaurant",
        "location": "New Delhi,India",
        "reviews": [
              {
                       "reviewId": "1324325",
                       "customer": {
                               "username": "",
                               "location": null,
                               "level": null
                        },
                        "title": "  ",
                        "rating": "5",
                        "text": "Great food ",
                        "reviewedOn": "2018-03-10",
                        "photos": null,
                        "repliedTo": true,
                        "externalSource": null,
                        "replies": [
                                {
                                      "repliedBy": "ManoloService",
                                      "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.zomato.com/ncr/delhi-grill-company-chhatarpur-new-delhi/reviews"
}

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

Parameter content type: application/json

Response

{
    "valid": true,
    "title": "Delhi Grill Company",
    "address": "D-95, 2nd Floor, Old ND D-90, Khasra 273/2, Phase 2, Chattarpur, New Delhi, 110030, India",
    "phoneNumber": "+919549053045",
    "websiteURL": null,
    "categories": "North Indian, Kebab",
    "description": null,
    "reviewCount": 8,
    "rating": 3.8,
    "openingHours": null,
    "specialities": null
}