An asynchronous Python library for interaction with GitHub's GraphQL API.
source | documentation
$ pip install --upgrade git+https://github.com/ShineyDev/github.git@dotcom
>>> import aiohttp
>>> import github
>>>
>>> session = aiohttp.ClientSession()
>>> client = github.Client(token="...", session=session)
>>>
>>> await client.request("{viewer{login}}")
{'viewer': {'login': 'nat'}}