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.mereturn 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. ReturnsTrueif updated successfully else raises an error.
More feature to be added in later versions.
Metadata
Release files for githubAPy 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| githubAPy-0.4.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| githubAPy-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / githubAPy-0.4.tar.gz
| Download URL | githubAPy-0.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
918a03eb8cc094fd3f7f57b001b8a1019df733ad38baf39b79a7dc6b51064999
|
|
BLAKE2b-256 checksum How to use checksums |
b10ad761fdd59abe2e578d5023fb5e92a5d767186f9d6c040db60cf5628e1d56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|
Release files / githubAPy-0.4-py3-none-any.whl
| Download URL | githubAPy-0.4-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a2e47c8ed5f0014606d30d080db35df52a09a255c8237fafc274ad219348529
|
|
BLAKE2b-256 checksum How to use checksums |
bebb7eab7cd072cd09c41209dd80c247fb49fb4909cd959eb060e26d4d6404d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
|