Skip to main content

An asynchronous python wrapper around the GitHub API

Project description

Github API Wrapper

.. image:: https://discord.com/api/guilds/963406460107235328/widget.png :target: https://discord.gg/DWhwsQ5TsT :alt: 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 is required to run the library

To install the library, run the following command:

.. code:: sh

On Linux or MacOS

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

On Windows

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

Quick Example

.. code:: py

import github import asyncio

async def main(): client = await github.GHClient()

user = await client.get_user(user='GithubPythonBot')

print(user)
print(user.html_url)

asyncio.run(main())

.. code:: sh

Output

<User login: 'GithubPythonBot', id: 104489846, created_at: 2022-04-27 07:31:26> https://github.com/GithubPythonBot

Links

  • Discord Server <https://discord.gg/DWhwsQ5TsT>_
  • GitHub API Documentation <https://docs.github.com/en/rest>_

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.7.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

github-1.2.7-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file github-1.2.7.tar.gz.

File metadata

  • Download URL: github-1.2.7.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for github-1.2.7.tar.gz
Algorithm Hash digest
SHA256 6206b890d6ed3fa5de2ca80372a7c9fb3e980c6c62d4557f3ee6f1cc109496be
MD5 e763d68a55b65376f79d4eecaaca8bfd
BLAKE2b-256 2c73536790dd0cc687a3a36dbeb729fe7a67630810e1754d893aa41858179740

See more details on using hashes here.

File details

Details for the file github-1.2.7-py3-none-any.whl.

File metadata

  • Download URL: github-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for github-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a60e3a9db4a7d10a6fb92023806fe57e930e28b8a09559b1813f3b45a6ff73e0
MD5 8028f65950ed81ac9457360cf409a81e
BLAKE2b-256 b34095bd12e103a6875d27acde1335b84d61faa90ac5632eed550209f794841b

See more details on using hashes here.

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