Skip to content

Instantly share code, notes, and snippets.

@dsingleton
Last active June 8, 2017 17:17
Show Gist options
  • Save dsingleton/fc1e41229c65f4da53f0998143122510 to your computer and use it in GitHub Desktop.
Save dsingleton/fc1e41229c65f4da53f0998143122510 to your computer and use it in GitHub Desktop.
{
"links": {
"self": "https://test.deliveroo.co.uk/orderapp/v2/restaurants?page=asap",
"next": "https://test.deliveroo.co.uk/orderapp/v2/restaurants?page=scheduled"
},
"data": [
{
"id": 22656,
"type": "restaurant",
"attributes": {
"name": "Barshu",
"delivery_time": "10 - 20",
"delivery_time_units": "minutes",
"image_url": "https://test-cdn1.deliveroo.co.uk/media/menus/19360/{w}x{h}.jpg?v=1485193411{&filters}{&quality}"
},
"relationships": {
"menu_tags": [
{
"data": {
"id": 9,
"type": "menu_tag"
}
},
{
"data": {
"id": 26,
"type": "menu_tag"
}
},
{
"data": {
"id": 327,
"type": "menu_tag"
}
}
]
},
"links": {
"self": "https://test.deliveroo.co.uk/orderapp/v1/restaurants/22656",
"web": "https://test.deliveroo.co.uk/menu/london/soho/bar-shu"
}
},
{
"id": 406,
"type": "restaurant",
"attributes": {
"name": "Nando's",
"delivery_time": "15 - 25",
"delivery_time_units": "minutes",
"image_url": "https://test-cdn1.deliveroo.co.uk/media/menus/406/{w}x{h}.jpg?v=1473408121{&filters}{&quality}"
},
"relationships": {
"menu_tags": [
{
"data": {
"id": 44,
"type": "menu_tag"
}
},
{
"data": {
"id": 288,
"type": "menu_tag"
}
},
{
"data": {
"id": 293,
"type": "menu_tag"
}
},
{
"data": {
"id": 290,
"type": "menu_tag"
}
}
]
},
"links": {
"self": "https://test.deliveroo.co.uk/orderapp/v1/restaurants/406",
"web": "https://test.deliveroo.co.uk/menu/london/fitzrovia/nando's-goodge-street"
}
},
{
"id": 32501,
"type": "restaurant",
"attributes": {
"name": "Mangio Pasta - Shepherd Street",
"delivery_time": "30 - 40",
"delivery_time_units": "minutes",
"image_url": "https://test-cdn1.deliveroo.co.uk/media/menus/1229/{w}x{h}.jpg?v=1473408577{&filters}{&quality}"
},
"relationships": {
"menu_tags": [
{
"data": {
"id": 4,
"type": "menu_tag"
}
},
{
"data": {
"id": 139,
"type": "menu_tag"
}
},
{
"data": {
"id": 89,
"type": "menu_tag"
}
}
]
},
"links": {
"self": "https://test.deliveroo.co.uk/orderapp/v1/restaurants/32501",
"web": "https://test.deliveroo.co.uk/menu/london/mayfair/mangio-pasta-and-bottega"
}
}
],
"includes": [
{
"id": 26,
"type": "menu_tag",
"attributes": {
"name": "sichuan",
"tag_type": "Food"
}
},
{
"id": 44,
"type": "menu_tag",
"attributes": {
"name": "chicken",
"tag_type": "Food"
}
},
{
"id": 89,
"type": "menu_tag",
"attributes": {
"name": "salads",
"tag_type": "Food"
}
},
{
"id": 139,
"type": "menu_tag",
"attributes": {
"name": "Pasta",
"tag_type": "Food"
}
},
{
"id": 327,
"type": "menu_tag",
"attributes": {
"name": "Cream of the crop",
"tag_type": "Collection"
}
},
{
"id": 290,
"type": "menu_tag",
"attributes": {
"name": "Family favourites",
"tag_type": "Collection"
}
},
{
"id": 4,
"type": "menu_tag",
"attributes": {
"name": "italian",
"tag_type": "Locale"
}
},
{
"id": 293,
"type": "menu_tag",
"attributes": {
"name": "Only on Deliveroo",
"tag_type": "Collection"
}
},
{
"id": 9,
"type": "menu_tag",
"attributes": {
"name": "chinese",
"tag_type": "Locale"
}
},
{
"id": 288,
"type": "menu_tag",
"attributes": {
"name": "Guilty pleasures",
"tag_type": "Collection"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment