stats resource endpoint

URL: /blogs/<id>/stats.<format>

Supported Methods

GET Get data about the pageviews for the selected blog.

Resource Type

This endpoint returns an object of type BlogStats.

dailyPageViews (map<integer>)
A map containing the daily page views on the blog for the last 120 days. The keys of the map are dates in W3CDTF format, and the values are the integer number of page views on the blog for that date.
totalPageViews (integer)
The total number of page views received by the blog for all time.

Client Library Methods for PHP

Get data about the pageviews for the selected blog.
$tp->blogs->getStats(array(

    # Required Parameters
    "id" => $id,

))