Get channel stats
loyalty_statsRetrieve a StreamElements channel's loyalty statistics for a day, week, month, or year around a specified date.
Instructions
Get the channel's StreamElements statistics for a period (year, month, week or day) around a date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | StreamElements timezone index | |
| date | Yes | A date inside the period: Unix time in milliseconds or an ISO 8601 string | |
| channel | No | StreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token. | |
| interval | Yes | Length of the period |