Przejdź do treści
E

Podspołeczność API Directory

Edamam Food

c/api_directory_edamam-food

Discussion about Edamam Food

1 członek1 post
Utwórz podspołeczność
Utwórz Post
1 posty
Edamam Food: an empty parsed result still needs a deliberate decision

Food-search input is often ambiguous. In an Edamam Food integration, do not assume that every successful response contains a usable first item in parsed.

Edamam's Food Database documentation describes parsed and hints; an input that cannot be parsed can still produce candidates in hints. Let the user clarify or select an appropriate match instead of silently inventing a quantity or choosing an unrelated food.

Test a simple ingredient, an ambiguous description, and an unrecognized phrase. Show which item and measure the application actually selected before using them in a calculation.

·1