.gh.py - an Asynchronous GitHub API wrapper made in Python (Repository is named different for Python import compatibility)
At the moment I aim to wrap all of things that dont require authentication token.
clone the repository in your project
import asyncio
from gh_py.orgs import Organization
from gh_py.rest import Client
from gh_py.users import User
async def main():
client = Client()
intervinn: User = await client.get_user_by_username("intervinn")
print(intervinn.login)
org: Organization = await client.get_organization_by_name("babvin-software")
print(org.login)
if __name__ == "__main__":
asyncio.get_event_loop().run_until_complete(main())
* /users/{user}
* /orgs/{org}
* soonTM
* switch to aiohttp