Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Hls Stream → Get Total Players

AI-generated

Summary

Fetch the total number of players for a given radio product and station.

Inputs

  • authentication — Authentication method to use (OAuth2 or API Key).
  • path_radio_product_id (required) — Unique identifier of the radio product.
  • path_station_id (required) — Unique identifier of the station.
  • query_from (required) — Start timestamp or identifier for the range.
  • query_to (required) — End timestamp or identifier for the range.
  • returnFullResponse — Whether to return the full response body.

Output shape

a single integer representing the total player count.

Returns a numeric total; may be wrapped in a success envelope with optional error details.

Examples

Example 1: Get total players for a specific product and station.

authentication=oauth2; path_radio_product_id=123; path_station_id=45; query_from=2023-01-01; query_to=2023-12-31; returnFullResponse=false

Example 2: Get total players using an API key and request full response.

authentication=apiKey; path_radio_product_id=123; path_station_id=45; query_from=2023-01-01; query_to=2023-12-31; returnFullResponse=true

Links

Discussion