Recipe macronutrients analysis

레시피의 재료를 분석하고 전체 레시피 기준 100g당 다량 영양소 값을 반환합니다. 다른 언어가 Accept-Language 헤더를 통해 지정된 경우 재료 이름은 자동으로 이탈리아어로 번역됩니다.

POST
/recipes-macronutrients
RecipesMacronutrients

요청

application/json
object

레시피 재료 분석 요청

RecipesMacronutrientsRequest

레시피 재료의 다량영양소 분석 요청

object

ingredients

object[]

RecipesMacronutrientsIngredientInput

단일 성분의 다량 영양소 분석

object

name

성분 이름

string

quantity?

재료의 양

value<double> | null

measureUnitId?

측정 단위 식별자; GET /definitions/measure-units를 통해 확인 가능

value<int32> | null

isIngredient?

이 항목이 실제 성분인 경우 True; 도구나 비식품 항목은 False입니다. 성분만 분석됩니다.

boolean