Infomaniak Vod icon

Infomaniak Vod

Interact with Infomaniak Vod API

Actions349

V3 > Statistics → Get Cities Statistics.

AI-generated

Summary

Retrieve city-level statistics for a specified sequence identifier from the Infomaniak VOD API.

Inputs

  • Authentication (required) — Choose the authentication method to use, either OAuth2 or API Key.
  • Subject (required) — Provide the unique identifier of the sequence to retrieve city statistics for.
  • Additional Query Parameters — Optionally specify query filtering parameters including 'By' (currently only 'country' supported), date range parameters 'From' and 'To', 'Per' (possibly for granularity), and 'Top' to limit the number of results.
  • Return Full Response — Set to true to receive the complete API response including metadata, or false to receive only the extracted data items.

Output shape

A JSON object containing city statistics data related to the specified sequence, or the full API response if requested.

If 'Return Full Response' is false, the node returns the extracted data items from the API response. The presence and format of data depend on the query parameters provided. Authentication is mandatory.

Examples

Example 1: Fetch top city statistics for a sequence filtered by country and date range.

Specify the 'Subject' with the sequence ID, set 'Additional Query Parameters' by choosing 'By' as 'country', define 'From' and 'To' dates, optionally set 'Top' to limit results.

Links

Discussion