Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Streams → Export Stats

AI-generated

Summary

Export statistics for a specific Infomaniak streaming radio stream.

Inputs

  • authentication — Authentication method to use for the request.
  • 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.
  • path_stream_id (required) — The unique identifier (ID) of the stream to request.
  • query_datatype (required) — The type of statistics to request (e.g., consumption, countries, listeners, listeners_per_minute, players).
  • query_from (required) — Start date/time for the statistics range (inclusive).
  • query_to (required) — End date/time for the statistics range (exclusive).
  • queryParameters (required) — Additional query parameters to include in the request.
  • returnFullResponse — Whether to return the complete API response body instead of a trimmed summary.

Output shape

JSON object containing the requested statistics

Response may be empty to indicate success; when configured, can return the full API response.

Examples

Example 1: Export consumption statistics for a radio product from Jan 1 to Jan 31 2024 using OAuth2.

authentication: oauth2; path_radio_product_id: 123; path_station_id: 45; path_stream_id: 6; query_datatype: consumption; query_from: '2024-01-01T00:00:00Z'; query_to: '2024-01-31T23:59:59Z'; returnFullResponse: false

Links

Discussion