Blogger API v3 . comments

Instance Methods

close()

Close httplib2 connections.

get(blogId, postId, commentId, x__xgafv=None)

Gets a comment by blog id, post id and comment id.

list(blogId, postId, fetchBodies=None, maxResults=None, pageToken=None, startDate=None, x__xgafv=None)

Lists comments.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(blogId, postId, commentId, x__xgafv=None)
Gets a comment by blog id, post id and comment id.

Args:
  blogId: string, A parameter (required)
  postId: string, A parameter (required)
  commentId: string, A parameter (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "author": { # The author of this Comment.
    "displayName": "A String", # The display name.
    "id": "A String", # The identifier of the creator.
    "image": { # The creator's avatar.
      "url": "A String", # The creator's avatar URL.
    },
    "url": "A String", # The URL of the creator's Profile page.
  },
  "blog": { # Data about the blog containing this comment.
    "id": "A String", # The identifier of the blog containing this comment.
  },
  "content": "A String", # The actual content of the comment. May include HTML markup.
  "id": "A String", # The identifier for this resource.
  "inReplyTo": { # Data about the comment this is in reply to.
    "id": "A String", # The identified of the parent of this comment.
  },
  "kind": "A String", # The kind of this entry. Always blogger#comment.
  "post": { # Data about the post containing this comment.
    "id": "A String", # The identifier of the post containing this comment.
  },
  "published": "A String", # RFC 3339 date-time when this comment was published.
  "selfLink": "A String", # The API REST URL to fetch this resource from.
  "status": "A String", # The status of the comment (only populated for admin users).
  "updated": "A String", # RFC 3339 date-time when this comment was last updated.
}
list(blogId, postId, fetchBodies=None, maxResults=None, pageToken=None, startDate=None, x__xgafv=None)
Lists comments.

Args:
  blogId: string, A parameter (required)
  postId: string, A parameter (required)
  fetchBodies: boolean, A parameter
  maxResults: integer, A parameter
  pageToken: string, A parameter
  startDate: string, A parameter
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "etag": "A String", # Etag of the response.
  "items": [ # The List of Comments for a Post.
    {
      "author": { # The author of this Comment.
        "displayName": "A String", # The display name.
        "id": "A String", # The identifier of the creator.
        "image": { # The creator's avatar.
          "url": "A String", # The creator's avatar URL.
        },
        "url": "A String", # The URL of the creator's Profile page.
      },
      "blog": { # Data about the blog containing this comment.
        "id": "A String", # The identifier of the blog containing this comment.
      },
      "content": "A String", # The actual content of the comment. May include HTML markup.
      "id": "A String", # The identifier for this resource.
      "inReplyTo": { # Data about the comment this is in reply to.
        "id": "A String", # The identified of the parent of this comment.
      },
      "kind": "A String", # The kind of this entry. Always blogger#comment.
      "post": { # Data about the post containing this comment.
        "id": "A String", # The identifier of the post containing this comment.
      },
      "published": "A String", # RFC 3339 date-time when this comment was published.
      "selfLink": "A String", # The API REST URL to fetch this resource from.
      "status": "A String", # The status of the comment (only populated for admin users).
      "updated": "A String", # RFC 3339 date-time when this comment was last updated.
    },
  ],
  "kind": "A String", # The kind of this entry. Always blogger#commentList.
  "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists.
  "prevPageToken": "A String", # Pagination token to fetch the previous page, if one exists.
}
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.