tumblr / pytumblr

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

README.md edit #86

Closed nvjkmr closed 7 years ago

nvjkmr commented 7 years ago

Editing a post

Updating a post requires you knowing what type a post you're updating and the id of the post. You'll be able to supply to the post any of the options given above for updates.

client.edit_post(blogName, type="photo", id="12312" title="OK", data="/Users/johnb/mega/awesome.jpg"); # edit a post