Simple GitHub API with Python
Project description
PyGitHub
Simple GitHub API with Python
Instructions
from iamjjinta.github import GitHub
username = 'Your GitHub Username'
password = 'Your GitHub Password'
# GitHub Login
github = GitHub(username, password)
login = github.login()
print(login.status_code)
# Get Repository Content
owner = 'iamjjintta-python'
repo = 'PyGitHub'
branch = 'main'
path = '/git/github.py'
source_code = github.get_content(owner, repo, branch, path)
print(source_code)
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 Distribution
Built Distribution
Close
Hashes for iamjjintta-pygithub-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d61e0fe471d295748cdc77b29e7ff9e8f64417ce6498663e10eff9e8c8eedbda |
|
MD5 | 6201c0541a8ee3a1fa09355bd7db28d6 |
|
BLAKE2b-256 | a38c321254c4672fcce03552f3f65cb6a37ca9e2c9f9589f1c52d188cbed2d30 |
Close
Hashes for iamjjintta_pygithub-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82c12010f5169b5673af3854e8db8aa03b1d294fcf43daf6431f743915722c45 |
|
MD5 | a59bcd9118a3e2d18b0db40b04aafdd0 |
|
BLAKE2b-256 | 3d491d1b059718039190adeeb21f2a1559cc359a212d93758302e24b0a093321 |