Re: Code for Creating Posts Using the Blogger API v3 (Python)
Keyur Rathod <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Thanks man, it really helped me ... On Wednesday, May 4, 2016 at 5:18:48 AM UTC+5:30, [email protected] wrote: > > 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.