python-wordpress-xmlrpc repost custom.updates code example
Example: python-wordpress-xmlrpc get post id
from wordpress_xmlrpc import Client
from wordpress_xmlrpc.methods.posts import GetPosts
wp = Client("https://wordpress.example.com/xmlrpc.php", "admin", "password")
allposts = wp.call(GetPosts())
for thepost in allposts:
print thepost.id