-
Notifications
You must be signed in to change notification settings - Fork 165
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
[Question] Which permissions need to be given for Github Personal Access Token? #1830
Comments
the token should only need the minimal read access permission See https://github.com/ImranR98/Obtainium/wiki#github |
No it's not. You must use classic token with |
@ImranR98 can information provided by @grm34 be documented on https://github.com/ImranR98/Obtainium/wiki#github page? |
I ran into this a few weeks ago. Try running this script and see what is returned. If your token is correct and accepted, it will show 5000. Mine wasn't and I ended up creating a new Github account, using a real email address (instead of an alias like I normally do). Verified the email address w/ Github. Ran this command and it showed 5000. Don't know if my original email alias, even though authenticated, was causing the limit to stay low or if it was just an old account. Either way, I have been fine since I created a new account and verified the email address. The classic token works fine. I haven't tried the fine-grained token yet but will. Note; w/ this script, you can use Bearer or Token: curl -L |
Just tested the fine-grained token and verified it works as well. Though for now I will stick w/ the classic token. Also, make sure you have validated/verified your email address w/ Github. I seem to recall reading somewhere that it needs to be verified to have the rate limit increased. Hope this helps. |
Thanks @js12h @yqs112358 please try those steps. We can re-open the issue if https://api.github.com/rate_limit shows you a high limit but Obtainium still gets rate limited. |
Okay, I have tested the request and returned a correct result:
BTW I haven't encountered rate limit again recently. It seems to be OK all the time. 😊 |
Excellent. Glad to see everything is working well for you now. |
I have generated a Fine-grained Github Personal Access Token with
Public Repositories (read-only)
repo access. However, when I was searching and adding a batch of apps from Github, I still faced with API request rate limit (need to retry 30 minutes later).So... which permissions exactly need to be given for Github Personal Access Token to improve API request rate limit?🤔
The text was updated successfully, but these errors were encountered: