Skip to main content

system.kanoa.event.getCountTotal

This function requires KanoaOPS module

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 Example

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