vhost.getVoteSummary

Syntax

mixed vhost.getVoteSummary ( INT vhostId, MIXED startDate, MIXED endDate, INT summarizeBy = 3, INT channel = NULL )

Argument Info

NameTypeRequiredDefault valueDescription
vhostIdINTRequirednoneThe Id of the vhost.
startDateMIXEDRequirednoneThe start of the time period for the votes report.
Format: 'YYYY-MM-DD' or 12345678
endDateMIXEDRequirednoneThe end of the time period for the votes report.
Format: 'YYYY-MM-DD' or 12345678
summarizeByINTOptional3 Can be 1 of 4 values:
1 - summarize by month
2 - summarize by week
3 - summarize by day
4 - summarize by hour
channelINTOptionalNULL The id of the channel that the summary is to be filtered by.

Response

NameTypeDescriptionPossible Values
RealDateDateThe date for the votes.YYYY-mm-dd
IntervalNumberINTThe timestamp for the votes.12345678
IntervalVotesINTThe total votes calls for the timeframe.0

Return Values

FieldDescriptionPossible Values