get_meal_by_name
MealDB.get_meal_by_name(name)
Retrieves a list of meals by name from the MealDB API.
Parameters
Name | Type | Description | Default |
---|---|---|---|
name | str | The name of the meal to search for. (e.g. Arrabiata, Potato Salad, Blini Pancakes). | required |
Returns
Name | Type | Description |
---|---|---|
list | list | A list of meals matching the search query. |
Raises
Name | Type | Description |
---|---|---|
httpx.HTTPError | Check httpx’s documentation for all possible exceptions. |