Infomaniak Streaming Video icon

Infomaniak Streaming Video

Interact with Infomaniak Streaming Video API

Actions92

Stats > Channel > Geolocation → Countries

AI-generated

Summary

Retrieves country geolocation statistics for a specified channel within a given time period.

Inputs

  • authentication — Authentication method; either OAuth2 token or API Key.
  • path_channel (required) — The channel ID (Pack order ID) whose statistics are requested.
  • query_from (required) — Start date for the consumption period (inclusive).
  • query_to (required) — End date for the consumption period (exclusive).
  • query_per (required) — Granularity of the time slice (e.g., day, hour, month).
  • query_account_id (required) — Account identifier for which the statistics are fetched.
  • returnFullResponse — If true, returns the complete API response; otherwise returns a simplified subset.

Output shape

Array of country geolocation objects containing statistics such as views, watch time, and audience demographics.

Pagination may be required for large result sets; fields are conditionally included based on returnFullResponse flag.

Examples

Example 1: Fetch quarterly geolocation stats for channel ID 12345 from Jan 01 to Mar 31 in day granularity.

authentication: apiKey; path_channel: 12345; query_from: 2024-01-01; query_to: 2024-04-01; query_per: quarter; query_account_id: 9876; returnFullResponse: false

Links

Discussion