We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e622e1 commit b0a5f41Copy full SHA for b0a5f41
github3/__init__.py
@@ -36,4 +36,4 @@
36
37
# Module namespace.
38
39
-from .core import from_pass
+from .core import login
github3/api.py
@@ -7,8 +7,9 @@
7
This module provides the basic API interface for Heroku.
8
"""
9
10
+import json
11
+
12
import requests
-from .compat import json
13
from .helpers import is_collection
14
from .structures import KeyedListResource
15
from .models import *
github3/core.py
@@ -9,7 +9,7 @@
from .api import Github
-def from_key(username, password):
+def login(username, password):
"""Returns an authenticated Github instance, via API Key."""
gh = Github()
0 commit comments