Get food macronutrients and portion

खोज endpoint द्वारा लौटाए गए (source, id) युग्म से पहचाने गए किसी एक खाद्य पदार्थ के प्रति 100 ग्राम मैक्रोन्यूट्रिएंट्स और मात्रा प्राप्त करें। किसी खाद्य पदार्थ को दोबारा खोजे बिना, डायरी में पहले से संग्रहीत भोजन को फिर से दिखाने के लिए इसका उपयोग करें। केवल इतालवी: किसी अन्य Accept-Language के लिए 406 उत्तर मिलता है।

GET
/foods/{source}/{id}/macronutrients
Foods
लागत: 10 क्रेडिट

प्रतिक्रिया

200
application/json
object

FoodMacronutrientsResult

एकल खाद्य पदार्थ के मैक्रोन्यूट्रिएंट और मात्रा

object

id

अपने कैटलॉग के भीतर पहचानकर्ता

integer<int64>

source

खाद्य पदार्थ किस कैटलॉग से आता है। 'generic' Tuduu खाद्य डेटाबेस का खाद्य पदार्थ है: इसमें कोई ब्रांड या पैक नहीं होता, न्यूट्रिएंट प्रति 100 g होते हैं, और आम तौर पर डायरी प्रविष्टि इसी को संदर्भित करती है। 'packaged' Tuduu मास्टर कैटलॉग का उत्पाद है, जिसमें ब्रांड, पैक फ़ॉर्मैट और लेबल पर घोषित न्यूट्रिएंट होते हैं। दोनों कैटलॉग के पहचानकर्ता स्थान स्वतंत्र हैं, इसलिए खाद्य पदार्थ को जोड़ी (source, id) द्वारा संबोधित किया जाता है, केवल id द्वारा नहीं

string
"generic""packaged"

portion?

object

All of

वेरिएंट 1

खाद्य पदार्थ की एक मात्रा। जब न तो वज़न ज्ञात हो और न ही लेबल विवरण, तब Null

object

grams?

ग्राम में मात्रा का वज़न। जब यह ज्ञात न हो, या लेबल वज़न के बिना मात्रा का वर्णन करता हो ('1 jar'), तब Null। पैक आकार से कभी अनुमानित नहीं किया जाता

number<double> | null

label?

लेबल पर जैसा छपा है वैसी ही मात्रा ('30 g', '1 jar')। सामान्य खाद्य पदार्थों के लिए Null, जिनका कोई लेबल नहीं होता

string | null

isDeclared

जब Grams किसी संख्यात्मक फ़ील्ड से आता है तब True, और जब इसे मुक्त-पाठ लेबल से निकाला गया हो तब false। किसी गणना में Grams का उपयोग करने से पहले इसे पढ़ें: यहाँ false का अर्थ है कि संख्या लेबल की हमारी व्याख्या है, न कि संख्या के रूप में घोषित मान

boolean

macronutrients

प्रति 100 g खाद्य पदार्थ के मैक्रोन्यूट्रिएंट

object

kcal?

किलोकैलोरी

number<double> | null

fat?

कुल वसा (g)

number<double> | null

saturatedFat?

संतृप्त वसा (g)

number<double> | null

carbohydrates?

कार्बोहाइड्रेट (g)

number<double> | null

sugars?

शर्करा (g)

number<double> | null

protein?

प्रोटीन (g)

number<double> | null

salt?

नमक (g)

number<double> | null

fiber?

आहार फाइबर (g)

number<double> | null
401
application/json
object

अनधिकृत

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

निषिद्ध

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
404
application/json
object

नहीं मिला

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

स्वीकार्य नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

अप्रक्रियायोग्य इकाई

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

बहुत अधिक अनुरोध (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

आंतरिक सर्वर त्रुटि

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

खराब गेटवे (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

गेटवे टाइमआउट (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string