get_ingredient_image_small
MealDB.get_ingredient_image_small(ingredient)
Fetches an scaled down image of the specified ingredient from TheMealDB and saves it locally.
Parameters
Name | Type | Description | Default |
---|---|---|---|
ingredient | str | The name of the ingredient for which the image is to be fetched. | required |
Returns
Name | Type | Description |
---|---|---|
str | any | A message indicating the successful fetching and saving of the image. |
Raises
Name | Type | Description |
---|---|---|
httpx.HTTPError | If the API request fails |