filter_by_area

MealDB.filter_by_area(area)

Retrieves meals from a specific geographical area/cuisine.

Parameters

Name Type Description Default
area str The area to filter by (e.g., ‘Canadian’, ‘Mexican’, ‘Italian’). required

Returns

Name Type Description
MealList MealList object containing meal summaries from the specified area.

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.