Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Some cleanup and a couple of new features#6

Open
moorchegue wants to merge 14 commits intolprsd:masterlprsd/python-restconsumer:masterfrom
moorchegue:mastermoorchegue/python-restconsumer:masterCopy head branch name to clipboard
Open

Some cleanup and a couple of new features#6
moorchegue wants to merge 14 commits intolprsd:masterlprsd/python-restconsumer:masterfrom
moorchegue:mastermoorchegue/python-restconsumer:masterCopy head branch name to clipboard

Conversation

@moorchegue
Copy link

This might be a bit messy to reviewb, but basically there are just a few changes:

  1. Constructor takes requests_kwargs and passes them to requests calls.
  2. Constructor takes response_wrapper which might be just a json.loads or something more fun to play with request object, response headers, etc.
  3. PaginatableResponse wrapper implemented to suck everything out of paginatable endpoint e.g. api.github.com/users. Examples provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.