Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github

An asynchronous python wrapper around the GitHub API

  • 1.2.7
  • PyPI
  • Socket score

Maintainers
2

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

  • Discord Server <https://discord.gg/DWhwsQ5TsT>_
  • GitHub API Documentation <https://docs.github.com/en/rest>_

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc