Pageviews, List, and Search Pages
Explore methods to retrieve pageview statistics, list all blog pages, and access individual page information through the Blogger API. This lesson helps you handle key page management operations and understand the parameters involved in querying blog page data effectively.
We'll cover the following...
In this lesson, we'll learn how to retrieve the number of pageviews for a particular blog page over a certain period of time. We'll also learn how to retrieve a single blog page and a list of all blog pages.
Pageview properties
The table below shows the list of pageview properties and their descriptions.
Parameter | Type | Description |
| string | The type of object. Value: Note: This value is fixed. |
| long | The ID of the blog. |
| list | The list of time ranges and count pairs for each page. |
| string | The duration over which the count was estimated. |
| long | The number of pageviews. |
Methods
Get pageviews
We can retrieve the pageview stats for a specific blog by making a GET request to the following endpoint:
This endpoint requires the blogId of the blog that we would ...