agithub icon indicating copy to clipboard operation
agithub copied to clipboard

Agnostic Github client API -- An EDSL for connecting to REST servers

Results 25 agithub issues
Sort by recently updated
recently updated
newest added

I love the syntax of the code "produced" by agithub. In addition to GitHub, I'd like to use it for accessing Bitbucket. Are there any plans to implement a dedicated...

enhancement
good first issue

From a run, with agithub logging at `DEBUG` level (`INFO` level from my script): ``` agithub==2.2.2 2019-12-18 04:29:32,495 INFO: Running as moz-hwine 2019-12-18 04:29:32,495 INFO: Gathering branch protection data. (calls...

The case of the headers returned differs between Python2 and Python3. This may be due to differences between `http.client` and `httplib` # Python 2 ``` $ python Python 2.7.15+ (default,...

The below code is from `base.py` ``` def post(self, url, body=None, headers=None, **params): headers = headers or {} url += self.urlencode(params) if 'content-type' not in headers: headers['content-type'] = 'application/json' return...

bug

Currently, the [POST](https://github.com/mozilla/agithub/blob/master/agithub/base.py#L162), [PUT](https://github.com/mozilla/agithub/blob/master/agithub/base.py#L169), and [PATCH](https://github.com/mozilla/agithub/blob/master/agithub/base.py#L186) methods automatically set the `content-type` header of any request (that doesn't explicitly supply `content-type` in the `headers` keyword argument) to `application/json`. This happens even...

bug

Please incorporate the rate limits for search apis. Current rate limit starts limiting all the APIs even if rate limit happens only on search api. https://developer.github.com/v3/search/#rate-limit

bug

The Changelog says * The todo list for the project is in the changelog * upcoming releases are at the top * the tip of the `maint` branch is the...

question

As decided in #37, rename agithub to arestclient.

enhancement

I just found [slumber](https://slumber.readthedocs.io/en/v0.6.0/). How does `agithub` compare to slumber? * It looks like slumber was also created in 2012 like agithub * Not a lot of activity in slumber...

question

We may want to move to using [`requests`](http://docs.python-requests.org/en/master/) instead of [`httplib`](https://docs.python.org/2/library/httplib.html) as it should enable us to more easily create mocked responses for unit tests (for example with [`requests-mock`](https://requests-mock.readthedocs.io/en/latest/)

enhancement