Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)
Github object to auth user, edit gist .etc

e.g. ::
    gh = Github()
    gh.login(token='xxxx')
    gh.edit_gist()

And about the authorize::
    gh = Github()
    token = gh.authorize(login, password)  # authorize itself and login(more...)

src/t/o/todo-HEAD/todo/app.py   todo(Download)
from models import Task
from models import Todo
from models import Github
 
from parser import parser
                resp = None
 
                github = Github()
                token = GithubToken().get()
                github.login(token)  # need to login
    def push(self):
        """Push todo to gist.github.com"""
        github = Github()
        gist_id = GistId().get()
        token = GithubToken().get()
                log.error("Please tell me todo's name to pull.")
 
        github = Github()
        gist_id = GistId().get()