Re: API retrieval of Blog labels / tags
Holalkere Laxmivenkatesh <[email protected]> Tue, 13 Mar 2018 06:31:49 -0700 (PDT)
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
On Monday, June 20, 2016 at 2:35:23 PM UTC+5:30, GorseFox wrote:
>
> I have been writing some Python code to retrieve historical blogger posts
> from my own.
> I seem to be able to get the blog post title, the url, the id and so
> forth... but how do I get the labels/tags that are associated with the post.
> I am using the Blogger API client libraries
>
> request = posts.get(blogId=blog['id'],postId=post['id'])
> post_content = request.execute()
> print('Author: %s:' % post_content['author'])
> print('Content: %s:' % post_content['content'])
> print('Replies: %s:' % post_content['replies'])
>
>
> The Blogger API documentation
> <https://developers.google.com/resources/api-libraries/documentation/blogger/v3/python/latest/blogger_v3.posts.html#get>
> references:
>
> "labels": [ # The list of labels this Post was tagged with."A String",],
>
>
> but a call with that seems to go unrecognised.
>
> Any advice or help?
>
--
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.