Skip to main content

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>_

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for github-1.2.6.tar.gz
Algorithm Hash digest
SHA256 22bd97e8bd0ebb3d93212a54387bd27105929703d0101fc87f4ced7702ef378e
MD5 8d798bf2c51cbec2d1ff2a4265263bfc
BLAKE2b-256 1a3fcb929447714f4fcc6b648569692eff28f20a4b5b3b817e7739760912e259

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.7

2 files

This release

1.2.6 This release

1 file

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

2 files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page