To use automated login
Requirement:
-gmail account ASSOCIATED with Robinhodd
Steps:
- go to https://developers.google.com/gmail/api/quickstart/python
- click "Enable the Gmail API"
- put credentials.json (downloaded upon clicking "Enable Gmail API") in "run" directory
- run "pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib"
- create login.ini in "run" directory
- add [ROBINHOOD] section to login.ini
- in [ROBINHOOD] section add your username and password as keys (ie: username = your_username)
- add [GMAIL] section to login.ini
- in [GMAIL] section add your gmail (ie: gmail = gmail@gmail.com)
- log out and forget all other gmail accounts besides your robinhood account in chrome
- run AND approve login for first run
After approving the first time, will not need to approve again