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>_
Release files for github 1.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| github-1.2.7.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| github-1.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.2 kB
Release files / github-1.2.7.tar.gz
| Download URL | github-1.2.7.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6206b890d6ed3fa5de2ca80372a7c9fb3e980c6c62d4557f3ee6f1cc109496be
|
|
BLAKE2b-256 checksum How to use checksums |
2c73536790dd0cc687a3a36dbeb729fe7a67630810e1754d893aa41858179740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / github-1.2.7-py3-none-any.whl
| Download URL | github-1.2.7-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a60e3a9db4a7d10a6fb92023806fe57e930e28b8a09559b1813f3b45a6ff73e0
|
|
BLAKE2b-256 checksum How to use checksums |
b34095bd12e103a6875d27acde1335b84d61faa90ac5632eed550209f794841b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|