Blogger API 2.0


Posted

in


Steve Jenson announced to the bloggerDev list:

Hi everybody,

I’ve uploaded the Developer Preview documentation to: http://groups.yahoo.com/group/bloggerDev/files/documentation.html and I’m waiting for a DNS change to propagate before I give it a permanent home. Once that dns update is finished, I’ll open up access to what I’m calling the API Validator; it will allow you to test API 2.0 clients without needing a Blogger account.

I think it’s important to note that I don’t consider API 2.0 set in stone. I’m incredibly open to hearing what people like and dislike about this new API and it’s datastructures.

Let me cut to the chase, here are the methods available:

blogger.newPost(Struct login, Struct post, Struct actions) => Boolean success blogger.editPost(Struct login, Struct post, Struct actions) => Boolean success
blogger.deletePost(Struct login, String postid, Struct actions) => Boolean success
blogger.getBlogs(Struct login) => Array of blogs (String ‘blogid’ -> String ‘blogName’)
blogger.getPost(Struct login, String postid, Struct filters) => Struct post
blogger.getRecentPosts(Struct login, String blogid, Struct filters) => Array of Struct post’s, unordered
blogger.getTemplate(Struct login, String blogid, String templateName) => Struct template
blogger.setTemplate(Struct login, String blogid, String templateName) => Boolean success
blogger.getUserInfo(Struct login) => Struct user
blogger.setUserInfo(Struct login, Struct user) => Boolean success