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

Add support to cycle through multiple access tokens #15

Open
techgaun opened this issue Nov 27, 2016 · 6 comments
Open

Add support to cycle through multiple access tokens #15

techgaun opened this issue Nov 27, 2016 · 6 comments

Comments

@techgaun
Copy link
Owner

Or maybe there's an alternative? But, if we can use tokens from multiple users, we can probably improve the time to wait.

@Plazmaz
Copy link
Collaborator

Plazmaz commented Nov 27, 2016

I'm working on a private project with similar functionality and we've had a lot of success with OAuth tokens.

@techgaun
Copy link
Owner Author

I think Search API has custom rate limit which is same regardless of token type. The other way I can think of would be to just have the repo(s) cloned on the local for an org/person/repo and then run a scan locally. this would require rewriting the tool though

@Plazmaz
Copy link
Collaborator

Plazmaz commented Nov 27, 2016

@techgaun yes, however each independent key has a separate ratelimit. So if you had 2 or 3 friends, then you can achieve 2 or 3 times the search speed.

@techgaun
Copy link
Owner Author

ahh yeah thats what this issue is for :) I understood your comment differently (sorry). If you want to take this issue, I would be more than happy. Otherwise, I will try getting it done over next weekend.

@Plazmaz
Copy link
Collaborator

Plazmaz commented Nov 27, 2016

Unfortunately I don't know that I'll have the time for this. Also, my Python is very rusty.

@techgaun
Copy link
Owner Author

cool no problem

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