Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Hls Stream → Get Countries By Continent

AI-generated

Summary

Retrieves a list of countries for a specified continent from a radio product's streaming stats.

Inputs

  • authentication — Authentication method to use (OAuth2 or API Key).
  • path_radio_product_id (required) — The unique identifier (ID) of the radio product to request.
  • path_station_id (required) — The unique identifier (ID) of the station to request.
  • query_from (required) — Start value for the query.
  • query_to (required) — End value for the query.
  • returnFullResponse — Whether to return the full API response instead of a condensed version.

Output shape

a JSON object containing country information

If returnFullResponse is true the full API response is returned; otherwise a summarized list of countries is returned.

Examples

Example 1: Fetch countries for Europe using OAuth2

authentication: oauth2; path_radio_product_id: 123; path_station_id: 456; query_from: ''; query_to: ''; returnFullResponse: false

Example 2: Get full response for Asia using API Key

authentication: apiKey; path_radio_product_id: 789; path_station_id: 101; query_from: '2023-01-01'; query_to: '2023-12-31'; returnFullResponse: true

Links

Discussion