Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Streams → Get Players

AI-generated

Summary

Fetch player statistics for a specific Infomaniak streaming radio product, station, and stream within a given time window.

Inputs

  • authentication (required) — Authentication method; either OAuth2 token or API Key.
  • path_radio_product_id (required) — ID of the radio product whose stats are requested.
  • path_station_id (required) — ID of the station within the product.
  • path_stream_id (required) — ID of the stream for which player stats are requested.
  • query_from (required) — Start timestamp (ISO 8601) of the statistics period.
  • query_to (required) — End timestamp (ISO 8601) of the statistics period.
  • returnFullResponse — If true, the full response payload is returned; otherwise only essential fields are included.

Output shape

an array of player objects containing fields such as playerId, listenerCount, and other stream metadata

Fields may be omitted if not present in the response; pagination is not used; errors are propagated as n8n error nodes.

Examples

Example 1: Retrieve stats using OAuth2 for product 12, station 34, stream 56 from 2024-09-01 to 2024-09-02, returning only essential data.

authentication=oauth2; path_radio_product_id=12; path_station_id=34; path_stream_id=56; query_from=2024-09-01T00:00:00Z; query_to=2024-09-02T00:00:00Z; returnFullResponse=false

Example 2: Retrieve full response using API Key for product 12, station 34, stream 56 over the same period.

authentication=apiKey; path_radio_product_id=12; path_station_id=34; path_stream_id=56; query_from=2024-09-01T00:00:00Z; query_to=2024-09-02T00:00:00Z; returnFullResponse=true

Example 3: Minimal query using default OAuth2, only required IDs and time window.

authentication=oauth2; path_radio_product_id=12; path_station_id=34; path_stream_id=56; query_from=2024-09-01T00:00:00Z; query_to=2024-09-02T00:00:00Z

Links

Discussion