Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Globals > Viewers → Viewers Per Channel Share

AI-generated

Summary

Retrieve viewer share per channel for an Infomaniak account over a specified period.

Inputs

  • authentication — Authentication method to use for the Infomaniak API (OAuth2 or API Key).
  • query_from (required) — Starting date for the consumption data (required).
  • query_account_id (required) — Identifier of the Infomaniak account (required).
  • queryParameters — Additional query parameters including granularity (query_per) and end date (query_to).
  • returnFullResponse — If true, returns the full API response; otherwise only the extracted viewer share data.

Output shape

a JSON object containing the viewer share per channel for the requested period

Fields may be optional and depend on the selected granularity; pagination is not supported.

Examples

Example 1: Get viewer share for account 456 from 2023-01-01 to 2023-01-31 with daily granularity

authentication=oauth2, query_from=2023-01-01, query_account_id=456, query_per=day, query_to=2023-01-31, returnFullResponse=false

Example 2: Retrieve full response for account 789 covering the past month with weekly granularity

authentication=apiKey, query_from=2023-09-01, query_account_id=789, query_per=week, query_to=2023-09-30, returnFullResponse=true

Links

Discussion