Code for Creating Posts Using the Blogger API v3 (Python)

[email protected]
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
Hi, 

Is there any sample code that shows how to insert a post or create a new 
blog using the Blogger API v3 in Python?

The blogger sample 
<https://github.com/google/google-api-python-client/tree/master/samples/blogger> only 
shows how to list information. 

I've gone so far as to be able to create a new post using the following 
code:

#...authentication...

service = build('blogger', 'v3', http=http_auth)

service.posts().insert(blogId='xyz',
                       body='').execute()


However, which arguments should I use to create the title and content? What 
do we use the required 'body' parameter?

Thank you!
Celso M. de Melo

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.