AnalyticsResource
class AnalyticsResource
Twitch Helix Analytics API resource.
Provides methods for retrieving analytics reports for extensions.
Note: This resource returns lists directly rather than Page/Flow because when an extensionId is specified the response contains a single report, and without one the result set is bounded by the number of extensions the user owns (typically small). The cursor is also ignored when filtering by extension ID, making auto-pagination a poor fit.
See also
Functions
Link copied to clipboard
suspend fun getExtensionAnalytics(extensionId: String? = null, type: String? = null, startedAt: String? = null, endedAt: String? = null, first: Int = 20, after: String? = null): List<ExtensionAnalyticsReport>