Skip to main content

Python wrapper to easily communicate with the GitHub API

Project description

Python package to easily use the GitHub API.

Installation

Install using pip3 install githubAPy

Usage

  • Import the class from githubAPy import gapy
  • Create an object and pass the GitHub Access Token a = gapy('<access_token_here>')

Multiple actions are supported

  • a.me return your information in dict (JSON) format.
  • a.user('<username>') return the information of a user.
  • a.create_fork('<owner>', '<repository>') create a fork of the specified repository and returns url of the forked repository if fork successfully created else raises an error.
  • a.update_with_upstream('<owner>', '<repository>') updates your forked repository master with the upstream master. Returns True if updated successfully else raises an error.

More feature to be added in later versions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for githubAPy, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size githubAPy-0.4-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size githubAPy-0.4.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page