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
To install the library, run the following command
.. code:: sh
#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
.. code:: py
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)
.. 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>
_
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file github_python-1.2.3-py3-none-any.whl
.
File metadata
- Download URL: github_python-1.2.3-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a94a3cee0ab331d3dae9ade841f3fe49c0c42c239640902e1f5cff20d5f48fc |
|
MD5 | 25067575d118278bad4e03e5328fa7d3 |
|
BLAKE2b-256 | 7e8284941658d7520acf6f9ee7e0467024e35dc1232cc9f1fd2adefb001d6a21 |