PageViews: get

Requires authorization

Retrieve pageview stats for a Blog. Try it now.

Request

HTTP request

GET https://www.googleapis.com/blogger/v3/blogs/blogId/pageviews

Parameters

Parameter name Value Description
Required parameters
blogId string The ID of the blog to get.
Optional parameters
range string

Acceptable values are:
  • "30DAYS": Page view counts from the last thirty days.
  • "7DAYS": Page view counts from the last seven days.
  • "all": Total page view counts from all time.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/blogger

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a PageViews resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.