Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Statistics → Get Countries Statistics.

AI-generated

Summary

Retrieve country-level statistics for a specified sequence from Infomaniak VOD by providing the unique sequence identifier and optional query parameters to filter or limit the data.

Inputs

  • Authentication (required) — Choose the authentication method: OAuth2 or API Key.
  • Subject (required) — Provide the unique identifier of the sequence for which to retrieve country statistics.
  • Additional Query Parameters — Optionally specify filters such as 'By' (e.g., country), 'From' date, 'Per' (period), 'To' date, and 'Top' (limit number) to refine the statistics returned.
  • Return Full Response — Boolean flag to determine whether to return the full API response or just extracted data.

Output shape

a JSON object containing country statistics data related to the specified sequence, or the full API response if requested

If 'Return Full Response' is false or unset, the node returns the extracted data only; otherwise, it returns the entire API response. The response shape depends on the API and includes statistical info grouped by countries as per provided parameters.

Examples

Example 1: Retrieve statistics grouped by country for a sequence ID, limiting results to the top 5 countries within a date range.

Set 'Subject' to the sequence ID, under 'Additional Query Parameters' set 'By' to 'country', specify 'From' and 'To' dates, and 'Top' to 5.

Links

Discussion