Skip to content
New issue

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

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

Already on GitHub? # to your account

Recognize npf as valid param for /posts/* endpoints #141

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

nostalgebraist
Copy link
Contributor

This PR modifies TumblrRestClient methods that retrieve posts, so that they accept npf as a valid parameter name.

This allows the user to retrieve posts in NPF, which is currently impossible using public methods of TumblrRestClient.

Thus, it will allow users of pytumblr to obey the following recommendation in the API docs:

Eventually, all posts will be NPF, so we strongly encourage leveraging NPF JSON via npf=true for post content when consuming posts via the API.

(For context, see discussion at tumblr/docs#36.)

@komapa komapa self-requested a review November 5, 2020 22:23
@komapa komapa merged commit afe2c4c into tumblr:master Nov 5, 2020
@nostalgebraist nostalgebraist deleted the npf_param branch November 5, 2020 22:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants