meal_details_by_id
MealDB.meal_details_by_id(id)Retrieves detailed meal information by meal ID.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| id | str | The meal ID to retrieve (e.g., ‘52772’). | required |
Returns
| Name | Type | Description |
|---|---|---|
| MealDetails | MealDetails object containing the meal’s complete information. |
Raises
| Name | Type | Description |
|---|---|---|
| httpx.HTTPError | Check httpx’s documentation for all possible exceptions. | |
| httpx.HTTPStatusError | If the API returns a non-2xx status code. |