Module: meal

Meal class. Wraps meal data from TheMealDB API
Source:

Classes

Meal

Methods

(inner) getIngredients(mealData) → {Object}

Parse individual ingredients from a meal with the amount needed
Parameters:
Name Type Description
mealData Object Raw meal data from TheMealDB
Source:
Returns:
Object where Key: ingredient, Value: amount
Type
Object