I am building Github App. I have tried to access repository from Github by using Access tokens, It will work fine
Here is the Code
username = "user"
reponame = "test"
g = Github("my_access_token")
repo = g.get_repo(username + "/" + reponame)
files = repo.get_contents("")
But now I want to access the repository by using Application authorizing, for this I am using PyGithub library.
Here is the link which demonstrate what i am trying to do exactly. (Must read this..Please) and This is the PyGitHub Docs to achieve above functionality.
I am not Getting how to implement this exactly.