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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6206b890d6ed3fa5de2ca80372a7c9fb3e980c6c62d4557f3ee6f1cc109496be
|
|
| MD5 |
e763d68a55b65376f79d4eecaaca8bfd
|
|
| BLAKE2b-256 |
2c73536790dd0cc687a3a36dbeb729fe7a67630810e1754d893aa41858179740
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a60e3a9db4a7d10a6fb92023806fe57e930e28b8a09559b1813f3b45a6ff73e0
|
|
| MD5 |
8028f65950ed81ac9457360cf409a81e
|
|
| BLAKE2b-256 |
b34095bd12e103a6875d27acde1335b84d61faa90ac5632eed550209f794841b
|