Skip to content

Some cleanup and a couple of new features#6

Open
moorchegue wants to merge 14 commits intolprsd:masterfrom
moorchegue:master
Open

Some cleanup and a couple of new features#6
moorchegue wants to merge 14 commits intolprsd:masterfrom
moorchegue:master

Conversation

@moorchegue
Copy link
Copy Markdown

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