Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Radio Products → Get Countries

AI-generated

Summary

Retrieve country data for a specified radio product over a date range.

Inputs

  • authentication — Authentication method (OAuth2 or API Key).
  • path_radio_product_id (required) — ID of the radio product to query.
  • query_from (required) — Start of the date range (inclusive).
  • query_to (required) — End of the date range (inclusive).
  • queryParameters — Additional query parameters such as station IDs.
  • returnFullResponse — If true, returns the complete API response; otherwise returns a simplified list.

Output shape

array of country objects

Each object contains country code, name, and possibly other metadata; no pagination is indicated.

Examples

Example 1: Get countries for radio product 42 from Jan 1 2023 to Dec 31 2023, returning full response.

authentication: OAuth2; path_radio_product_id: 42; query_from: 2023-01-01; query_to: 2023-12-31; queryParameters: { query_station_ids: "1,2" } ; returnFullResponse: true

Example 2: Fetch country list for product 7 using API Key, between March 1 and March 31, without full response.

authentication: API Key; path_radio_product_id: 7; query_from: 2024-03-01; query_to: 2024-03-31; queryParameters: {} ; returnFullResponse: false

Links

Discussion