def api(self): """Return an authenticated GitHub API.""" return github3.login(token=self.access_token)