# Path: gitmostwanted/app.py



import requests
from gitmostwanted.app import app
"""
@todo #113:120m GitHub API must be re-factored. The current architecture is too complicated to
 paginate.
"""




def fetch(uri: str, method: str = 'get', token: str = None):
    """:rtype: (str|None, int)"""
    uri = 'https://api.github.com/{0}'.format(uri)

# Path: gitmostwanted/app.py



# Path: gitmostwanted/lib/github/api.py
import requests
from gitmostwanted.app import app

"""
@todo #113:120m GitHub API must be re-factored. The current architecture is too complicated to
 paginate.
"""




def fetch(uri: str, method: str = 'get', token: str = None):
    """:rtype: (str|None, int)"""
    uri = 'https://api.github.com/{0}'.format(uri)

    auth = app.config['GITHUB_AUTH']