filter_by_area
MealDB.filter_by_area(area)
Retrieves a list of meals that originate from a specific area from the MealDB API.
Parameters
Name | Type | Description | Default |
---|---|---|---|
area | str | The area to filter by (e.g. Canadian, Mexican). | required |
Returns
Name | Type | Description |
---|---|---|
list | list | A list of dictionaries containing the meals that originate from the specified area. |
Raises
Name | Type | Description |
---|---|---|
httpx.HTTPError | Check httpx’s documentation for all possible exceptions. |