Skip to main content

An asynchronous python wrapper around the GitHub API

Project description

Discord Server Invite

Easy to use Python wrapper for the Github API.

Key Features

  • Modern Pythonic Interface

  • Easy to use

Installing

Python 3.8 or higher

To install the library, run the following command

#Linux/macOS
python3 -m pip install -U git+https://github.com/VarMonke/Github-Api-Wrapper

#Windows
py -m pip install -U git+https://github.com/VarMonke/Github-Api-Wrapper

Quick Example

import github
import asyncio

async def main():
  client = await github.GHClient()
  return await client.get_user(user='GithubPythonBot')

user = asyncio.run(main())
print(user)
print(user.html_url)

You can find more examples in the examples directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-1.2.2.tar.gz (14.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page