Thursday, September 16, 2004

The way to post to blogger in python:

import xmlrpclib
server = xmlrpclib.server("http://plant.blogger.com/api/RPC2")
username = "your name goes here"
password = "your password goes here"
appkey = "your application key goes here, which is somewhat lenghty and hex"
blogid = "your blog number "
server.blogger.newPost( appkey, blogid, username, password, "Hello World", True)

Enjoy!

1 comments: to “ so far...