benleb / surepy

🐾 Library & CLI to monitor and control the Pet Door & Cat Flap Connect 🚪 the Pet Feeder Connect 🍽 and the Felaqua 💦 sold by Sure Petcare
https://pypi.org/project/surepy/
MIT License
76 stars 36 forks source link

Surepy CLI request token doesn't return token #211

Open AZDane opened 3 months ago

AZDane commented 3 months ago

When using CLI to get token, I get the following. What could be wrong?

────────────────────────────────────────────── myemail · Token ───────────────────────────────────────────────
<Command token>
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
astromechza commented 3 months ago

Check the ~/.surepy.token file, it looks like it is successfully exchanging the creds for a bearer token and writing it to that file, but the cli just doesn't log a useful message.