coddingtonbear / python-myfitnesspal

Access your meal tracking data stored in MyFitnessPal programatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get my daily kcal goal?

diogosilva30 opened this issue · comments

Is this info available?

It should be in the day object. Try:

import myfitnesspal

client = myfitnesspal.Client('my_username')

day = client.get_date(2013, 3, 2)
day.goals

I believe @hannahburkhardt 's answer here will get you to what you need, @spamz23; so I'm going to close this. Let us know if you're still stuck, though.