mirror of
https://github.com/kennethreitz/python-github3.git
synced 2026-06-05 23:10:17 +00:00
basic
This commit is contained in:
+12
-5
@@ -7,12 +7,19 @@ This is going to be awesome.
|
||||
|
||||
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
Usage
|
||||
-----
|
||||
|
||||
::
|
||||
from github3 import github
|
||||
|
||||
github.login('username', 'password')
|
||||
# optional
|
||||
|
||||
github.
|
||||
|
||||
|
||||
|
||||
- Requests
|
||||
- AnyJSON
|
||||
- OrderedDict
|
||||
|
||||
|
||||
Installation
|
||||
|
||||
+18
-4
@@ -9,8 +9,22 @@ This module contains the core GitHub 3 interface.
|
||||
"""
|
||||
|
||||
|
||||
class GitHub(object):
|
||||
pass
|
||||
from .api import API_URL
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
|
||||
class GitHub(object):
|
||||
"""Central GitHub object."""
|
||||
|
||||
ratelimit = None
|
||||
= None
|
||||
|
||||
def __init__(self, apiurl=API_URL):
|
||||
pass
|
||||
|
||||
def login(self):
|
||||
pass
|
||||
|
||||
|
||||
# Default instance
|
||||
github = GitHub()
|
||||
Reference in New Issue
Block a user