Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use this library / login? #30

Open
iseahound opened this issue Aug 3, 2022 · 1 comment
Open

How do I use this library / login? #30

iseahound opened this issue Aug 3, 2022 · 1 comment

Comments

@iseahound
Copy link

iseahound commented Aug 3, 2022

After multiple attempts, I finally figured out that I somehow had the v1 installation instead of the v2 installation, and that the default v2 astuart.co/go-robinhood/v2 isn't up to date with the GitHub.

What is a context in Robinhood.dial?

 not enough arguments in call to robinhood.Dial
        have (*robinhood.OAuth)
        want (context.Context, oauth2.TokenSource)

An updated working example would be appreciated!

@manugarg
Copy link

You can use context.Background() as the first argument to robinhood.Dial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants