python-wordpress-xmlrpc v2.0!

As WordPress 3.4 approaches RC and final release, the new features in the XML-RPC API have finally stabilized. For those Python users out there, I’ve updated my Python binding library to take advantage of the new functionality.

As part of the release, I spent the time to write proper documentation; be sure to check out the examples section! The library is now also compatible with Python 3 (in addition to Python 2.6+).

If you are currently using a previous release (1.x) of the library, be warned that 2.0 is not backwards compatible. I’ve removed all but one use of legacy Blogger/metaWeblog methods, which has caused the posts module and several others to change significantly. See the changelog for full details.

And, of course, you can download it on PyPI or directly through GitHub.

One Response to python-wordpress-xmlrpc v2.0!
  1. designtechplus

    Well done! Very useful package to me but please more examples needed in the docs. For example how would I get a list of the slugs of the pages building from your example viz

    pages = client.call(posts.GetPosts({‘post_type’: ‘page’}, results_class=WordPressPage))

    I am moderately a beginner in python please.

Leave a Reply