jmfernandes / robin_stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
http://www.robin-stocks.com
MIT License
1.74k stars 468 forks source link

login with recieving text message after #30

Closed bennettdrew35 closed 5 years ago

bennettdrew35 commented 5 years ago

I am attempting to gain access to my Robinhood stock information through The robin stocks API python library. Currently, I am receiving the error:

400 Client Error: Bad Request for URL: https://api.robinhood.com/oauth2/token/ import robin_stocks as r username = 'emailacc@gmail.com' password = '*****' login = r.login(username, password) My user name is my email, and the password I am using is the same to log into the website. I also get a text message whenever I run my script stating a token which is valid for 5 minutes.

bennettdrew35 commented 5 years ago

I had to add authentification.