fooddata-central-api / Exports
▸ findFood(params
): Promise
<SearchResult
>
Returns a list of foods that matched search (query) keywords
Remarks
Search for foods using keywords. Results can be filtered by dataType and there are options for result page sizes or sorting.
See
Throws
On bad input parameters
Name | Type |
---|---|
params |
FoodSearchCriteria |
Promise
<SearchResult
>
List of foods that matched search terms