ondrej1024 / carelink-python-client

Experimental Medtronic CareLink Client in Python
GNU Affero General Public License v3.0
39 stars 21 forks source link

_cli works with patient parameter, but not in own script via import #7

Closed Radstake closed 1 year ago

Radstake commented 1 year ago

Hi, thanks for the great work,

I have an issue using main branche:

When I do a request using the _cli script it works perfectly. But when I import the client and make a request via client.login() using the same parameters in carelink_client.CareLinkClient() it gives a 400

Hope you could help thx...

ondrej1024 commented 1 year ago

The main branch was updated just a few hours ago. So please do a pull and try again. If the problem persists, post the log of what you are doing. Thanks

Radstake commented 1 year ago

Hi, yes I am aware. Git pull is says already up to date. So sorry.... while I was pasting my code I saw I pulled the wrong key for getting the username from redis. Sorry for waisting your time