A GitHub API wrapper that allows you to get info on users and organisations
Project description
GitHub Info
GitHub Info is a small package that provides info fetched from the GitHub API for orgs and users (more in the works). You can find the methods below.
Users
Example:
import github_info as github
print(github.users.get("cxllm"))
Outcome:
{
"username": "cxllm",
"id": 59397232,
"avatar": "https://avatars.githubusercontent.com/u/59397232?v=4",
"url": "https://github.com/cxllm",
"name": "Callum",
"bio": "A 13 year old TypeScript/Python developer from the UK",
"location": "United Kingdom",
"organization": "https://github.com/@SkyNightLabs",
"website": "cxllm.xyz",
"twitter": "https://twitter.com/CX11M",
"email": None,
"public_repos": 12,
"public_gists": 0,
"followers": 19,
"following": 0,
"created_at": 1577812053.0,
"updated_at": 1621186488.0,
"site_admin": False,
}
Orgs
Example:
import github_info as github
print(github.orgs.get("skynightlabs"))
Outcome:
{
"username": "SkyNightLabs",
"id": 82262039,
"avatar": "https://avatars.githubusercontent.com/u/82262039?v=4",
"url": "https://github.com/SkyNightLabs",
"name": "SkyNight Labs",
"description": "The home for your next project",
"location": "United Kingdom",
"company": None,
"website": "https://skynightlabs.com",
"twitter": "https://twitter.com/SkyNightLabs",
"email": "hello@skynightlabs.com",
"public_repos": 0,
"public_gists": 0,
"followers": 0,
"following": 0,
"created_at": 1618045287.0,
"updated_at": 1621165797.0,
}
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
github-info.py-1.0.0.tar.gz
(2.8 kB
view details)
File details
Details for the file github-info.py-1.0.0.tar.gz.
File metadata
- Download URL: github-info.py-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bfe88f5cdfdfec144959103cb2cdeeb32e726da9892980e970eb1a7e0c60f50
|
|
| MD5 |
ee25f5f4a51319cec7590d27e11aa9a8
|
|
| BLAKE2b-256 |
c6465afb9c46953a057f7fbb91a5bfe4126618d7a5f517efbe754a6c94bef40b
|