zoomus icon indicating copy to clipboard operation
zoomus copied to clipboard

.response vs .text

Open mikegorman-nf opened this issue 5 years ago • 1 comments

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.

mikegorman-nf avatar Oct 17 '19 18:10 mikegorman-nf

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.

prschmid avatar Nov 14 '19 14:11 prschmid