SpotOn API Documentation.

From SpotOn Restaurant

Restaurants by Food Type

    URL: https://www.api.123demo.co.in/api/restaurantByFoodType
    Method:  POST
  
Object Description
device_token [Required] (Get during app installation)
app_api_key [Required] (Get during app installation)
token [Required] Bearer Token (Get during app login)
food_type_id [Required]
output JSON formats.
    {
        "success": true,
        "data": [
            [
                {
                    "id": 4,
                    "restaurant": "New heart restaurant",
                    "restaurant_type_id": "1",
                    "license_no": null,
                    "web_url": null,
                    "features_id": null,
                    "logo": "1641895761.png",
                    "business_id": 1,
                    "business_location_id": 4,
                    "status": 1,
                    "created_at": "2022-02-04 11:19:18",
                    "updated_at": null,
                    "location_title": "KFC Bristol",
                    "address": "220 North Street",
                    "city": "Bedminster, Bristol",
                    "postcode": "BS3 1JD",
                    "latitude": "51.441158294677734",
                    "longitude": "-2.6114978790283203",
                    "state": "Bristol",
                    "country": "United Kingdom",
                    "phone": "09658285888",
                    "email": "samir@dfsdf.bo"
                }
            ]
        ],
        "message": "Get restaurant by cuisine id."
    }
  
    {
        "success": false,
        "message": "Unauthorized",
        "data": "Unauthorized"
    }