From 45bd2699e9eff2f8aa7536cb707c164e3242996d Mon Sep 17 00:00:00 2001 From: VarMonke Date: Tue, 3 May 2022 16:08:38 +0530 Subject: [PATCH] README --- README.md | 2 -- README.rst | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) delete mode 100644 README.md create mode 100644 README.rst diff --git a/README.md b/README.md deleted file mode 100644 index ff1fba1..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Github-Api-Wrapper -Python Wrapper over Github's API. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..c99efab --- /dev/null +++ b/README.rst @@ -0,0 +1,55 @@ +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 + + https://github.com/GithubPythonBot + + +Links +----- +`Discord Server `_ \ No newline at end of file