Login prompt wrapper and DeGiro constructor function#28
Open
konpsar wants to merge 10 commits intololokraus:masterfrom
Open
Login prompt wrapper and DeGiro constructor function#28konpsar wants to merge 10 commits intololokraus:masterfrom
konpsar wants to merge 10 commits intololokraus:masterfrom
Conversation
allow log in with 2fa
get account overview
Added to extend login function to dynamically ask password/totp from user, hiding password while typing. In this way, password doesn't have to be included in .py scripts.
Constructor enbales an option to automatically login when creating DeGiro instance. (using login_prompt)
Updated examples to include some use cases of constructor and login_prompt.
Co-authored-by: Jakub Loucký <jakub.loucky@outlook.cz>
Co-authored-by: Jakub Loucký <jakub.loucky@outlook.cz>
Co-authored-by: Jakub Loucký <jakub.loucky@outlook.cz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I had an idea to create a function that prompts for password (hiding it while typing), because I didn't like the idea to include my passwords in all .py scripts I used.
Added functions to init.py
Notes
Some use cases examples can be seen in examples.py which I've also updated.
Your feedback will be appreciated!