Skip to content

Instantly share code, notes, and snippets.

@projectxcappe
Created February 2, 2018 04:22
Show Gist options
  • Save projectxcappe/efacef1de5e640396806e8d5dc07019b to your computer and use it in GitHub Desktop.
Save projectxcappe/efacef1de5e640396806e8d5dc07019b to your computer and use it in GitHub Desktop.
.../api/venue_detail
{
"status": 1,
"msg": "Venue detail",
"statuscode": 201,
"data": {
"venue_id": "1",
"place_id": "1",
"name": "Test Venue",
"address": "Its A test Address",
"phone_number": "123456123456",
"description": "This Venue Is added for Testing Only",
"picture": "http://api.lineopener.com/uploads/Screen1.png",
"logo": "http://api.lineopener.com/uploads/logo.png",
"section_categories": [
{"category":"Sandwiches"},
{"category":"Desserts"},
{"category":"Extras"}
] <--------------------- would be super nice to have here too (or however best to represent data)
"venue_map": "",
"open_time": "10:00",
"close_time": "22:00",
"location": "1",
"status": "1",
"created": "2017-10-10 00:00:00",
"updated": "2017-10-10 00:00:00",
"food": [
{
"food_id": "14",
"venue_id": "1",
"category_id": "0",
"name": "Bacon & Chicken Deli Wrap",
"category_name": "Sandwiches", <-----------------
"description": "",
"price": "8.99",
"quantity": "56",
"ccy": "",
"pic": "http://api.lineopener.com/uploads/order-image.png",
"status": "1",
"created": "2017-11-22 03:32:59",
"updated": "0000-00-00 00:00:00"
},
{
"food_id": "19",
"venue_id": "1",
"category_id": "0",
"name": "Assorted Lays Potato Chips",
"category_name": "Extras", <-----------------
"description": "",
"price": "1.99",
"quantity": "",
"ccy": "",
"pic": "http://api.lineopener.com/uploads/order-image.png",
"status": "1",
"created": "2017-11-22 03:52:34",
"updated": "0000-00-00 00:00:00"
},
{
"food_id": "20",
"venue_id": "1",
"category_id": "0",
"name": "Giant Chocolate chip Cookie",
"category_name": "Desserts", <-----------------
"description": "",
"price": "1.99",
"quantity": "",
"ccy": "",
"pic": "http://api.lineopener.com/uploads/order-image.png",
"status": "1",
"created": "2017-11-22 03:53:18",
"updated": "0000-00-00 00:00:00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment