Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Statistics → Get Media Unique Viewers' Statistics.

AI-generated

Summary

Retrieve unique viewers' statistics for a specified media item within a given channel, optionally filtered by date range and limited by top entries.

Inputs

  • Authentication (required) — Select the authentication method to use for the API request, either OAuth2 or API Key.
  • Channel (required) — The unique identifier of the channel to query.
  • Media (required) — The identifier or name of the media item for which to retrieve statistics.
  • Additional Query Parameters — Optional parameters including From (start date), To (end date), and Top (number of top statistics entries to retrieve).
  • Return Full Response — Whether to return the entire API response instead of the default extracted data.

Output shape

A single record representing the unique viewers' statistics data retrieved from the Infomaniak API for the specified media within the channel.

The output contains either the extracted relevant data or the full API response if 'Return Full Response' is set to true. Date filters and top limits are optional and only applied if provided.

Examples

Example 1: Retrieve unique viewers statistics for media 'video123' in channel 42, limited to top 10 results and between 2023-01-01 and 2023-01-31 using OAuth2 authentication.

Authentication: OAuth2; Channel: 42; Media: 'video123'; From: '2023-01-01'; To: '2023-01-31'; Top: 10; Return Full Response: false

Links

Discussion