|
| 1 | +{ |
| 2 | + "id": 1, |
| 3 | + "language": { |
| 4 | + "id": 1, |
| 5 | + "short_name": "de", |
| 6 | + "full_name": "Deutsch" |
| 7 | + }, |
| 8 | + "creation_date": "2022-08-09", |
| 9 | + "description": "", |
| 10 | + "get_nutritional_values": { |
| 11 | + "total": { |
| 12 | + "energy": 853.0, |
| 13 | + "protein": 12.08, |
| 14 | + "carbohydrates": 180.7, |
| 15 | + "carbohydrates_sugar": 139.62, |
| 16 | + "fat": 4.92, |
| 17 | + "fat_saturated": 0.71, |
| 18 | + "fibres": 11.96, |
| 19 | + "sodium": 0.48, |
| 20 | + "energy_kilojoule": 3568.95 |
| 21 | + }, |
| 22 | + "percent": { |
| 23 | + "protein": 5.66, |
| 24 | + "carbohydrates": 84.74, |
| 25 | + "fat": 5.19 |
| 26 | + }, |
| 27 | + "per_kg": { |
| 28 | + "protein": 0.0, |
| 29 | + "carbohydrates": 0.0, |
| 30 | + "fat": 0.0 |
| 31 | + } |
| 32 | + }, |
| 33 | + "meals": [ |
| 34 | + { |
| 35 | + "id": 1, |
| 36 | + "plan": 1, |
| 37 | + "order": 1, |
| 38 | + "time": "08:00:00", |
| 39 | + "name": "Frühstück", |
| 40 | + "meal_items": [ |
| 41 | + { |
| 42 | + "id": 1, |
| 43 | + "meal": 1, |
| 44 | + "ingredient": 59887, |
| 45 | + "ingredient_obj": { |
| 46 | + "id": 59887, |
| 47 | + "code": "4311501354155", |
| 48 | + "name": "Baked Beans", |
| 49 | + "creation_date": "2020-12-20", |
| 50 | + "update_date": "2022-08-09", |
| 51 | + "energy": 86, |
| 52 | + "protein": "4.400", |
| 53 | + "carbohydrates": "11.000", |
| 54 | + "carbohydrates_sugar": "5.300", |
| 55 | + "fat": "0.100", |
| 56 | + "fat_saturated": "0.000", |
| 57 | + "fibres": "5.000", |
| 58 | + "sodium": "0.480", |
| 59 | + "license": { |
| 60 | + "id": 5, |
| 61 | + "full_name": "Open Data Commons Open Database License", |
| 62 | + "short_name": "ODbL", |
| 63 | + "url": "https://opendatacommons.org/licenses/odbl/" |
| 64 | + }, |
| 65 | + "license_author": "Open Food Facts", |
| 66 | + "ingredientweightunit_set": [], |
| 67 | + "language": { |
| 68 | + "id": 1, |
| 69 | + "short_name": "de", |
| 70 | + "full_name": "Deutsch" |
| 71 | + } |
| 72 | + }, |
| 73 | + "weight_unit": null, |
| 74 | + "weight_unit_obj": null, |
| 75 | + "image": null, |
| 76 | + "order": 1, |
| 77 | + "amount": "100.00" |
| 78 | + }, |
| 79 | + { |
| 80 | + "id": 2, |
| 81 | + "meal": 1, |
| 82 | + "ingredient": 58300, |
| 83 | + "ingredient_obj": { |
| 84 | + "id": 58300, |
| 85 | + "code": "4071800000992", |
| 86 | + "name": "1688 Mehrkorn", |
| 87 | + "creation_date": "2020-12-20", |
| 88 | + "update_date": "2022-08-09", |
| 89 | + "energy": 229, |
| 90 | + "protein": "7.680", |
| 91 | + "carbohydrates": "35.700", |
| 92 | + "carbohydrates_sugar": "2.320", |
| 93 | + "fat": "4.820", |
| 94 | + "fat_saturated": "0.714", |
| 95 | + "fibres": "6.960", |
| 96 | + "sodium": "0.000", |
| 97 | + "license": { |
| 98 | + "id": 5, |
| 99 | + "full_name": "Open Data Commons Open Database License", |
| 100 | + "short_name": "ODbL", |
| 101 | + "url": "https://opendatacommons.org/licenses/odbl/" |
| 102 | + }, |
| 103 | + "license_author": "Open Food Facts", |
| 104 | + "ingredientweightunit_set": [], |
| 105 | + "language": { |
| 106 | + "id": 2, |
| 107 | + "short_name": "en", |
| 108 | + "full_name": "English" |
| 109 | + } |
| 110 | + }, |
| 111 | + "weight_unit": null, |
| 112 | + "weight_unit_obj": null, |
| 113 | + "image": { |
| 114 | + "id": 3, |
| 115 | + "uuid": "778fe5cb-a5d9-42e5-9df2-2a47022b720f", |
| 116 | + "ingredient_id": "58300", |
| 117 | + "ingredient_uuid": "60e1f479-9af1-4bd4-b2a8-1ebe8974258e", |
| 118 | + "image": "http://localhost:8000/media/ingredients/60e1f479-9af1-4bd4-b2a8-1ebe8974258e/778fe5cb-a5d9-42e5-9df2-2a47022b720f.jpg", |
| 119 | + "last_update": "2022-08-09T15:31:46.833918+02:00", |
| 120 | + "size": 33617, |
| 121 | + "source_url": "", |
| 122 | + "license": 1, |
| 123 | + "license_author": "kiliweb" |
| 124 | + }, |
| 125 | + "order": 1, |
| 126 | + "amount": "100.00" |
| 127 | + }, |
| 128 | + { |
| 129 | + "id": 3, |
| 130 | + "meal": 1, |
| 131 | + "ingredient": 10065, |
| 132 | + "ingredient_obj": { |
| 133 | + "id": 10065, |
| 134 | + "code": "0043647440020", |
| 135 | + "name": "'Old Times' Orange Fine Cut Marmalade", |
| 136 | + "creation_date": "2020-12-20", |
| 137 | + "update_date": "2022-08-09", |
| 138 | + "energy": 269, |
| 139 | + "protein": "0.000", |
| 140 | + "carbohydrates": "67.000", |
| 141 | + "carbohydrates_sugar": "66.000", |
| 142 | + "fat": "0.000", |
| 143 | + "fat_saturated": "0.000", |
| 144 | + "fibres": null, |
| 145 | + "sodium": "0.000", |
| 146 | + "license": { |
| 147 | + "id": 5, |
| 148 | + "full_name": "Open Data Commons Open Database License", |
| 149 | + "short_name": "ODbL", |
| 150 | + "url": "https://opendatacommons.org/licenses/odbl/" |
| 151 | + }, |
| 152 | + "license_author": "Open Food Facts", |
| 153 | + "ingredientweightunit_set": [], |
| 154 | + "language": { |
| 155 | + "id": 2, |
| 156 | + "short_name": "en", |
| 157 | + "full_name": "English" |
| 158 | + } |
| 159 | + }, |
| 160 | + "weight_unit": null, |
| 161 | + "weight_unit_obj": null, |
| 162 | + "image": { |
| 163 | + "id": 5, |
| 164 | + "uuid": "81c07bef-02ea-47ba-a18e-d7388dc2bc01", |
| 165 | + "ingredient_id": "10065", |
| 166 | + "ingredient_uuid": "b0c47fa4-3898-4705-b8f5-184877d50b78", |
| 167 | + "image": "http://localhost:8000/media/ingredients/b0c47fa4-3898-4705-b8f5-184877d50b78/81c07bef-02ea-47ba-a18e-d7388dc2bc01.jpg", |
| 168 | + "last_update": "2022-08-09T15:45:58.511169+02:00", |
| 169 | + "size": 43397, |
| 170 | + "source_url": "", |
| 171 | + "license": 1, |
| 172 | + "license_author": "tacinte" |
| 173 | + }, |
| 174 | + "order": 1, |
| 175 | + "amount": "200.00" |
| 176 | + } |
| 177 | + ], |
| 178 | + "get_nutritional_values": { |
| 179 | + "energy": 853.0, |
| 180 | + "protein": 12.08, |
| 181 | + "carbohydrates": 180.7, |
| 182 | + "carbohydrates_sugar": 139.62, |
| 183 | + "fat": 4.92, |
| 184 | + "fat_saturated": 0.71, |
| 185 | + "fibres": 11.96, |
| 186 | + "sodium": 0.48, |
| 187 | + "energy_kilojoule": 3568.95 |
| 188 | + } |
| 189 | + } |
| 190 | + ] |
| 191 | +} |
0 commit comments