Skip to content

Meal Plan Models

Classes for representing meal plans, meal plan sections, and recipes.

MealPlanItem

MealPlanItem(response)

Bases: DataModel

id property

day property

recipe_id property

recipe_servings property

note property

recipe property

section_id property

section property

type property

product_id property

get_details(api_client)

MealPlanSection

MealPlanSection(response)

Bases: DataModel

id property

name property

sort_number property

row_created_timestamp property

MealPlanItemType

MealPlanItemType

Bases: str, Enum

NOTE = 'note' class-attribute instance-attribute

PRODUCT = 'product' class-attribute instance-attribute

RECIPE = 'recipe' class-attribute instance-attribute

RecipeItem

RecipeItem(response)

Bases: DataModel

id property

name property

description property

base_servings property

desired_servings property

picture_file_name property

get_picture_url_path(width=400)