Methods
(async, inner) get_public_recipe(id)
Gets a specific public recipe
Parameters:
| Name | Type | Description |
|---|---|---|
id |
String | the id of the public recipe |
- Source:
Returns:
the data of the request public recipe
(inner) public_recipe(name, recipeCategory, description, calories, imageUrl, recipeUrl, recipe_ingredient)
Initializes the recipe JSON object
Parameters:
| Name | Type | Description |
|---|---|---|
name |
* | the name of the recipe |
recipeCategory |
* | the categories of the recipe |
description |
* | the description of the recipe |
calories |
* | the calories of the recipe |
imageUrl |
* | the url to the image of the food |
recipeUrl |
* | the url to the official recipe page |
recipe_ingredient |
* | the ingredients of the recipe |
- Source: