Search
K

GetNumberOfPageviewsPerDay

Description

Returns the number of pageviews per day, for a Flipbook, in a given time period. Dates returned in the response are the same time zone as the one present in your flipbook.

Parameters

Name
Value
paperID
The ID of the Flipbook to retrieve data from
from
When should data be returned from? Format: YYYY-MM-DD
to
When should data be returned to? Format: YYYY-MM-DD

Sample Response

<?xml version="1.0" encoding="utf-8"?>
<result>
<code><![CDATA[SUCCESS]]></code>
<message />
<data>
<pageviews>
<day date="2012-01-28" views="0" />
<day date="2012-01-29" views="0" />
<day date="2012-01-30" views="0" />
<day date="2012-01-31" views="0" />
<day date="2012-02-01" views="0" />
<day date="2012-02-02" views="16" />
<day date="2012-02-03" views="0" />
<day date="2012-02-04" views="0" />
<day date="2012-02-05" views="0" />
</pageviews>
</data>
</result>

Return Codes

  • SUCCESS
  • ERROR
  • STATISTICS_TEMPORARILY_UNAVAILABLE