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

Support for multiple API keys #115

Open
Valian opened this issue Jan 31, 2024 · 1 comment
Open

Support for multiple API keys #115

Valian opened this issue Jan 31, 2024 · 1 comment

Comments

@Valian
Copy link

Valian commented Jan 31, 2024

First of all, thank you a lot for creating this wrapper! It helps me a lot.

I'm making an application that acts on behalf of multiple users. Currently api key and secret are global, stored in config. I'd love to be able to make requests using different credentials.

If I'll find time I'll try to create a PR, but just wanted to create an issue to let you know such feature would be very useful :)

@dvcrn
Copy link
Owner

dvcrn commented Feb 1, 2024

Hey! There is a PR open on adding support for passing apikey/secret as opts instead of global vars, can you check it out? #107

Reason it's not merged yet was that the initial reporter noticed some problems with it, see this comment: #105 (comment)

Could you give this branch a try and report if it works for you?

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