Skip to content
Discussion options

You must be logged in to vote

To your last question first: garmin = Garmin(email, password) and the login line are Python code, not cmd commands. You don't need to type them anywhere because example.py already does exactly that for you. It tries saved tokens first, and if there are none it asks for your email and password and saves new tokens to ~/.garminconnect (example.py#L98-L129). So the "No valid tokens found" message on the first run is normal and just means it hasn't logged in before (L113).

The readchar error is because demo.py imports readchar (demo.py#L33) and that isn't part of the base install. It lives in the example extra (pyproject.toml#L111-L113). pip install ./demo.py can't work because pip installs p…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@GuidoSee
Comment options

Answer selected by GuidoSee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants