Blogger API . pageViews

Instance Methods

close()

Close httplib2 connections.

get(blogId, range=None, x__xgafv=None)

Gets page views by blog id.

Method Details

close()
Close httplib2 connections.
get(blogId, range=None, x__xgafv=None)
Gets page views by blog id.

Args:
  blogId: string, A parameter (required)
  range: string, A parameter (repeated)
    Allowed values
      all - 
      30DAYS - 
      7DAYS - 
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "blogId": "A String", # Blog Id.
  "counts": [ # The container of posts in this blog.
    {
      "count": "A String", # Count of page views for the given time range.
      "timeRange": "A String", # Time range the given count applies to.
    },
  ],
  "kind": "A String", # The kind of this entry. Always blogger#page_views.
}