via GitHub's API? I've tested it a couple times with different access tokens but all it returns to me is a bunch of info about my GitHub profile in additions to all public repos, but no private ones. Any idea why or what I'm doing wrong? Tell me if I should provide you with some kind of resource or something to maybe reproduce the problem.
Check token scope, authentication, endpoint, permissions, and organization membership (if needed ) also maybe try sth like: https://api.github.com/search/repositories?q=user:VarunBanka
I had to generate a fine-grained token (not a classic one) and set all permission to read-only or read and write to make sure it will gimme access and it finally worked. Thanks for the help.
Is there any way to also filter the list of returned repos? Like a specific query to have the API return all the repos except for the ones mentioned as the parameters of the query or something.
yeah, u can use type parameter
Обсуждают сегодня