python-github3 icon indicating copy to clipboard operation
python-github3 copied to clipboard

Python wrapper for GitHub API v3

Results 23 python-github3 issues
Sort by recently updated
recently updated
newest added

Is there a way to use this library with enterprise github which has a different URL than github.com? I don't see an option in github class for this purpose. Thanks.

I made a request for an organization's repositories, printed the result with the `all()` function, and got this: ``` [, ] ``` How would I convert this so the result...

The following: ``` python from pygithub3 import Github Github(token='token').repos.collaborators.add('collaborator', user='user', repo='repo') ``` fails with `pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON` after GitHub tries to interpret the `PLACEHOLDER` (submitted by `pygithub.services.base.Service._put`)...

This adds 'sort' and 'direction' options to the pull-request list method as kwargs. If they aren't passed, default values are assumed by the API. See github API docs for more...

#### What's this PR do? The GitHub API create Key method also takes in a `read_only` parameter to set keys to read-only. This PR adds the field to the schema...

Fix typo `lables` in issues update request. Fixes #45

I'm sending an update with `gh.issues.update(issueId, data)` .. data has a list of issue but none of them are being saved.

It's not possible to assign labels to issues. Regardless of what is passed to `add_to_issue` for the labels, there is always a ValueError thrown: ``` python ValueError: Unable to encode...

No matter how I configure the forks calls, I am getting a 404 error in response to both `list` and `create` calls. g is my authenticated user object ``` >>>...

...PLACEHOLDER'" This reverts commit b488b8447fc943d920cd72b60c6647e5840ff800. requests now seems to do the right thing (2.3.0). And GitHub rejects bodies that don't validate as JSON.