Thursday, October 14

PyBlogger работает !!!

Python 2.2.1 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
>>> import blogger
>>> import Blog
>>> user = Blog.User(name, passwd)
>>> blogs = user.blogs
>>> blogs[0].url
'http://angel-neo.blogspot.com'
>>> blogs[0].name
"Angel's notes"
>>> blogs[0].id
'3813229'
>>> blogger.newPost(3813229, name, passwd, "Test for PyBlogger", 1)
'109769924019270140'

No comments: