Skip to main content

system.kanoa.event.getCountTotal

Description

Returns the total counts for the given counterId and date range.

Syntax

getCountTotal(counterId, startDate, endDate)

Parameters:
  • counterId: Counter ID.
  • startDate (datetime): Start date.
  • endDate (datetime): End date.

  • Returns:
  • countTotal (float)
  • Code Examples

    # Example Usage:
    counterId = 123
    startDate = start_date
    endDate = end_date
    countTotal = system.kanoa.event.getCountTotal(counterId, startDate, endDate)