mirror of
https://github.com/kennethreitz/python-github3.git
synced 2026-06-05 23:10:17 +00:00
login
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ This module provides the base entrypoint for github3.
|
||||
|
||||
from .api import Github
|
||||
|
||||
def from_key(username, password):
|
||||
def login(username, password):
|
||||
"""Returns an authenticated Github instance, via API Key."""
|
||||
|
||||
gh = Github()
|
||||
|
||||
Reference in New Issue
Block a user