Tatang, very informative thanks so much, im not sure if im being dense but im still not getting a value, in the JSONformatter your using i see it breaks each array down for you, im not seeing that in mine and am struggling to understand which properties to pull…
Based on your video ive changed the blocks as below, and im sure that the error is the properties im selecting, would you mind having a look over that ?
and this is the JSON after the URL and barcode are submitted
{
"foods": [
{
"food_name": "Rice Krispies",
"brand_name": "Kellogg's",
"serving_qty": 1,
"serving_unit": "serving",
"serving_weight_grams": 30,
"nf_metric_qty": 30,
"nf_metric_uom": "g",
"nf_calories": 118.2300033569336,
"nf_total_fat": 0.4000000059604645,
"nf_saturated_fat": 0.10000000149011612,
"nf_cholesterol": null,
"nf_sodium": 120,
"nf_total_carbohydrate": 26,
"nf_dietary_fiber": 0.8999999761581421,
"nf_sugars": 2.4000000953674316,
"nf_protein": 2.0999999046325684,
"nf_potassium": null,
"nf_p": null,
"full_nutrients": [
{
"attr_id": 203,
"value": 2.1
},
{
"attr_id": 204,
"value": 0.4
},
{
"attr_id": 205,
"value": 26
},
{
"attr_id": 208,
"value": 118.23
},
{
"attr_id": 269,
"value": 2.4
},
{
"attr_id": 291,
"value": 0.9
},
{
"attr_id": 307,
"value": 120
},
{
"attr_id": 606,
"value": 0.1
}
],
"nix_brand_name": "Kellogg's",
"nix_brand_id": "51db37b0176fe9790a8983d8",
"nix_item_name": "Rice Krispies",
"nix_item_id": "5755d1df4af43853405196a5",
"metadata": {},
"source": 8,
"ndb_no": null,
"tags": null,
"alt_measures": null,
"lat": null,
"lng": null,
"photo": {
"thumb": "https://nutritionix-api.s3.amazonaws.com/60cb54d3bc476c0006962fc1.jpeg",
"highres": null,
"is_user_uploaded": false
},
"note": null,
"class_code": null,
"brick_code": null,
"tag_id": null,
"updated_at": "2021-06-17T13:57:39+00:00",
"nf_ingredient_statement": "rice, sugar, contains 2% or less of salt, malt flavoring, bht for freshness. vitamins and minerals: iron, vitamin c (ascorbic acid), vitamin e (alpha tocopherol acetate), niacinamide, vitamin a palmitate, vitamin b6 (pyridoxine hydrochloride), vitamin b2 (riboflavin), vitamin b1 (thiamin hydrochloride), folic acid, vitamin b12, vitamin d."
}
]
}