Line 522: |
Line 522: |
| * nutrition-score-uk_100g : nutrition score defined by the UK Food Standards Administration (FSA) | | * nutrition-score-uk_100g : nutrition score defined by the UK Food Standards Administration (FSA) |
| | | |
− | ===== Nutrition grades ===== | + | ===== Nutrition grades (Nutriscore, UK grades) ===== |
| * For more details, see [https://fr.openfoodfacts.org/score-nutritionnel-experimental-france the page explaining the grade computation] | | * For more details, see [https://fr.openfoodfacts.org/score-nutritionnel-experimental-france the page explaining the grade computation] |
| * nutrition_score_debug: lets you see the calculations made | | * nutrition_score_debug: lets you see the calculations made |
| <pre>"nutrition_score_debug":" -- energy 3 + sat-fat 6 + fr-sat-fat-for-fats 6 + sugars 0 + sodium 6 - fruits 0% 0 - fiber 0 - proteins 5 -- fsa 15 -- fr 15"</pre> | | <pre>"nutrition_score_debug":" -- energy 3 + sat-fat 6 + fr-sat-fat-for-fats 6 + sugars 0 + sodium 6 - fruits 0% 0 - fiber 0 - proteins 5 -- fsa 15 -- fr 15"</pre> |
| + | * Nutrition Grade Value |
| + | <pre> |
| + | "nutrition_grades":"d" |
| + | "nutrition_grades_tags":["d"] |
| + | "nutrition_grade_fr":"d" |
| + | </pre> |
| + | ====== Nutrition Grade Images ====== |
| + | No formal API is available, but you can use: |
| + | <pre> |
| + | https://static.openfoodfacts.org/images/misc/nutriscore-a.svg |
| + | https://static.openfoodfacts.org/images/misc/nutriscore-b.svg |
| + | https://static.openfoodfacts.org/images/misc/nutriscore-c.svg |
| + | https://static.openfoodfacts.org/images/misc/nutriscore-d.svg |
| + | https://static.openfoodfacts.org/images/misc/nutriscore-e.svg |
| + | </pre> |
| ====== List of all nutrition grades ====== | | ====== List of all nutrition grades ====== |
| * https://world.openfoodfacts.org/nutrition-grades.json | | * https://world.openfoodfacts.org/nutrition-grades.json |