Description Usage Arguments Value Examples
This functions gets the menu items from different restaurant chains.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
key |
API key |
query |
keywords in the menu items. |
minCalories |
The minimum amount of calories the menu item must have. |
maxCalories |
The maximum amount of calories the menu item can have. |
minCarbs |
The minimum amount of carbohydrates in grams the menu item must have. |
maxCarbs |
The maximum amount of carbohydrates in grams the menu item can have. |
minProtein |
The minimum amount of protein in grams the menu item must have. |
maxProtein |
The maximum amount of protein in grams the menu item can have. |
minFat |
The minimum amount of fat in grams the menu item must have. |
maxFat |
The maximum amount of fat in grams the menu item can have. |
number |
The number of expected results (between 1 and 10). |
The menu items requested by users.
1 | get_menu(key = Sys.getenv("SPOON_KEY"),query = "burger" ,number = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.