models.MealDetails
models.MealDetails(items=list())Container for detailed meal information.
Used for endpoints that return complete meal data including instructions, ingredients, measurements, tags, and other detailed information.
Attributes
| Name | Description |
|---|---|
| areas | Get all meal areas/cuisines from the list. |
| categories | Get all meal categories from the list. |
| ids | Get all meal IDs from the list. |
| names | Get all meal names from the list. |
Methods
| Name | Description |
|---|---|
| from_response | Create an instance from an API response, handling null meal data. |
| get_ingredients | Extract ingredients and measurements from a specific meal. |
| get_tags | Extract tags from a specific meal. |