Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.response vs .text #27

Open
mikegorman-nf opened this issue Oct 17, 2019 · 1 comment
Open

.response vs .text #27

mikegorman-nf opened this issue Oct 17, 2019 · 1 comment

Comments

@mikegorman-nf
Copy link

The example in the README didn't work for me, and I finally tracked it to .content vs. .text. .content is returned as a type 'bytes' vs type 'string', and the json.loads statement won't take the 'bytes' as input. You may also want to mention that kwargs, such as page_size can be placed into the calls for items. Worked like a champ, but I had to look at the source to see I could do it. Thanx in general, great little utility module.

@prschmid
Copy link
Owner

Hi @mikegorman-nf Thanks for the feedback! Do you have some updated text, examples that we could put in the README? Happy to make the changes on your behalf if you don't want to open a pull request.

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

No branches or pull requests

2 participants