Recipe - Food - Nutrition

פרמיום
Verified
על ידי David | מְעוּדכָּן hace un mes | Food
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

1,684ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

The `Convert Amounts` endpoint response should include the converted amount

Rapid account: Johnwmillr
johnwmillr
hace 6 años

EDIT: Maybe the targetAmount and targetUnit fields are what I want?

Hi there,

I have a suggestion for the Convert Amounts endpoint. Instead of returning the answer as a sentence (e.g. "2.5 cups flour translates to 312.5 grams."), it would be much more helpful to have the CONVERTED_AMOUNT and CONVERTED_UNITS as separate fields in the response. I will have to parse the returned string for the CONVERTED_AMOUNT, but I would rather not have to rely on my own parsing to extract the correct amount.

Thanks!

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות