getEventStats

abstract suspend fun getEventStats(eventName: String, days: Int): EventStats

Calculates statistics for a specific event over a time period. Returns zero stats if the client is not active.

Return

Statistics about the event's occurrences

Parameters

eventName

Name of the event to analyze

days

Number of days to look back