Actions92
- Channel Actions
- Channel > Config Actions
- Event Actions
- Integrations Actions
- Live Actions
- Misc > Countries Actions
- Misc > Stream Actions
- Option Actions
- Option > Record Actions
- Option > Record > Instant Actions
- Option > Record > Storage Actions
- Option > Timeshift Actions
- Option > Watermarking Actions
- Option > Simulcast Actions
- Players Actions
- Players > Ads Actions
- Players > Embeds Actions
- Players > Pictures Actions
- Prices Actions
- Restrictions Actions
- Stats > Channel > Connection History Actions
- Stats > Channel > Consumption Actions
- Stats > Channel > Export Stats Actions
- Stats > Channel > Geolocation Actions
- Stats > Channel > Technologies Actions
- Stats > Channel > Viewers Actions
- Stats > Channel > Viewing Actions
- Stats > Globals > Consumption Actions
- Stats > Globals > Geolocation Actions
- Stats > Globals > Viewers Actions
- Stats > Globals > Viewing Actions
- Thumbnail Actions
- Order Actions
Stats > Globals > Viewers → Viewers Per Channel Share
AI-generatedSummary
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