Module: groceries

Module for working with TheMealDB
Source:

Methods

(static) getMealData(meal) → {Meal}

Gets meal data for a specific meal
Parameters:
Name Type Description
meal string String of meal
Source:
Returns:
Data pertaining to meal as a Meal object
Type
Meal
Example
getMealData("pork tacos");

(static) getRandomMeal() → {Meal}

Gets data for a random meal
Source:
Returns:
Data pertaining to meal as a Meal object
Type
Meal
Example
getRandomMeal();