ghapi
ghapi copied to clipboard
A delightful and complete interface to GitHub's amazing API
Question, I haven't seen any support for native aiohttp calls . Is it something that could be implemented later in time? Thanks,
Reproducer in a terminal on M1 MacBook Pro, macOS 12.5, Python 3.8.9 (from Xcode Command Line Tools): ```console python3 -m venv ghapi_venv ./ghapi_venv/bin/pip3 install -U pip setuptools wheel ./ghapi_venv/bin/pip3 install...
Hey, I've run into an issue where I can't figure out how to send `null` as required by some endpoints by the Github API, (specifically updating branch protection). This endpoint...
Hey guys, Do you know if is possible get the error message in Python instead a generic error message? If yes, please let me know. If not, could be a...
`Pages` for search does not work: ```py gh = GhApi(token=gh_token) search = pages(gh.search.code, gh.last_page(), '"test"').concat ``` Will yield the following error: ``` File "/Users/***/venv/lib/python3.9/site-packages/ghapi/page.py", line 57, in last_page header =...
There are 2 issues here. 1. The signature of the function `delete_repos_secret` is confusing. The API doc says that it takes 3 parameters `owner`, `repo` and `secret_name` while the `help`...
When using this API from within a GitHub Action, the API returns a 404 error when attempting to use `delete_package_version_for_authenticated_user`. However, doing a manual curl command to the same URL...
Note: Since I'm dealing with a private organization with private repositories and private containers, I've changed everything to `myorg`, `myrepo`, and `mycontainer`, respectively. ## Summary - It appears that Ghapi...
result of `ghapi meta.get_octocat`: ``` Traceback (most recent call last): File "C:\Users\tyler\scoop\apps\python\current\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\tyler\scoop\apps\python\current\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\tyler\scoop\apps\python\current\Scripts\ghapi.exe\__main__.py",...
I've have a GitHub app which uses a jwt that can expire. Ultimately, I generate an installation access token that can also expire and I am trying to use `ghapi`...