IDs of nutrients for JSON imports
Hi!
I'm new to Cronometer and would love to understand if we can access any updated list of IDs and their translation (i.e., ID 203 = Protein) instead of this;
{"amount":0,"id":513,"type":"PRIMARY"},{"amount":0,"id":514,"type":"PRIMARY"},{"amount":0,"id":515,"type":"PRIMARY"},{"amount":0,"id":516,"type":"PRIMARY"},
I found some information, but it doesn't seem to have them all.
This would help a lot as I want to create my custom foods, and I normally utilize of AI to achieve certain tasks, and this would be one where I feed my Excels with nutrient information for AI to fill the JSON properly without me doing much work.
Any templates out there? Or someone that made an Excel/CSV with needed information that can be converted to JSON via Python as an example?
Let me know if possible.
Kind regards,
Fredric
Answers
-
same!! such a weird import JSON schema. Do they do that on purpose? why?
-
Thanks for commenting on this - I'm still hoping that this will get attention.
The amount of work required to import foods/nutrients is just too much sometimes. It would require me to re-create almost every product I buy as the database is not really extensive when it comes to markets in Sweden.
Having the ability to import via CSV in an easier way, or even improving the OCR function to include AI responses - like, that it can include recommendations to add micronutrients based on the content/or the actual food itself?
I understand that AI is not to be trusted 100%, but it helps a lot and saves time - even if it needs to be reviewed afterwards. At least something I would highly value as a feature for my own custom foods.