Closed Mccombkp closed 4 years ago
The library isn't itself asking you to provide a password, your system's keychain is, and the reason it's doing that is because we've asked your keychain to give us one of your stored passwords.
For situations in which you'd rather provide the password directly, you can always provide the password directly to your script by providing a second argument (as is mentioned in the last paragraph of the "Authentication" section of the readme):
import myfitnesspal
client = myfitnesspal.Client('my_username', 'my_password')
Good luck!
Thank you very much!
No problem! Feel free to reach out on the gitter channel, too, if you run into questions.
Hello,
I am trying to run a notebook that spits out an automated email report via google cloud, but I run into a problem when using a Linux VM that I do not encounter locally.
The library ask me to set an encrypted password to be launched the first time I am running the notebook, which makes it unable to automate as the workflow involves another notebook calling the notebook with the MFP data in it.
Here is the error code that gets raised when I enter the wrong password. Hopefully, someone would know if it is possible to edit one of the files to bypass this all together. Or if they know any possible command that I can set after inputting the login information that enters the password for me.
Thank you.
Edit P.S: apologies for remaking this topic. I made it a month ago and deleted it based on poor explanation of the issue at hand, and was unaware that Git doesn't permadelete topic. (I am new to all this.)