I would like to be able to pull the macronutrient (and more if possible) data from MyFitnessPal using what i assume would need to be an importhtml() or importxml() function directly onto a google sheet row using and specified by the date.
Also I believe that there's a limit to how many times on one sheet the function can be used so if the above is possible would it be possible, in addition, to pull the data and then insert as value so as new dates get added it doesn't keep using the import function each time the gsheet is opened
I've set my profile to public so I was wondering if there was a way. I tried using importxml() and it seems to pull something
What i've found is thatif i do=IMPORTxml("https://www.myfitnesspal.com/food/diary/&E1&?date=2020-10-22","//a/@href")
where cell E1 is the username
It does pull in data but it shows the following which is not what i'm looking for.
I'm hoping to at bare minimum get carbs, fat and protein (if possible sat fat, fiber, sodium)