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

Reusing token #18

Open
stevenklar opened this issue Dec 28, 2018 · 1 comment
Open

Reusing token #18

stevenklar opened this issue Dec 28, 2018 · 1 comment

Comments

@stevenklar
Copy link

stevenklar commented Dec 28, 2018

After testing and try automating some collecting process, I received a "too many requests" response. Which most likely is caused because on every action there is a new login. Instead of login again all the time.

I could not find any option to reuse the given token.

Possible ways come initially in my mind:

  • local n26 config (not for the initial credentials, still security related for the amount of token time to live)
  • set a temporary environment variable
  • output the token with a copy string example like N26_TOKEN=xxx ... cmd

I like the first one more. Most likely users of this code will use it in a safer (local?) environment only. Nobody should use this at any risky environment anyway.

@guitmz
Copy link
Owner

guitmz commented Jan 2, 2019

Thanks for the report. I agree, I've been thinking on how to implement this, something like your first idea should work well :) Hope I find the time to implement this soon.

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

No branches or pull requests

2 participants