tumblr / pytumblr

A Python Tumblr API v2 Client
Apache License 2.0
723 stars 196 forks source link

Inconsistent boolean GET parameters #56

Closed thachhoang closed 7 years ago

thachhoang commented 9 years ago

From https://api.tumblr.com/console/calls/blog/posts, to include reblog info in each post I can do this:

client.posts('staff.tumblr.com', reblog_info=True)

In practice I have to do this:

client.posts('staff.tumblr.com', reblog_info='true')

because pytumblr adds uppercase boolean values as GET parameters ('True'), which the Tumblr API ignores.

codingjester commented 9 years ago

Interesting. I'll check this out and see what I can do.

Thanks for the report.

jasonpenny commented 7 years ago

This no longer seems to be a problem, both True and 'true' are including the reblog info