Infomaniak Streaming Radio icon

Infomaniak Streaming Radio

Interact with Infomaniak Streaming Radio API

Actions141

Stats > Radio Products → Get Total Consumption

AI-generated

Summary

Retrieve total consumption statistics for a specific radio product over a given time range.

Inputs

  • authentication — Authentication method to use (OAuth2 or API Key).
  • path_radio_product_id (required) — Unique identifier of the radio product.
  • query_from (required) — Start date or timestamp for the consumption data.
  • query_to (required) — End date or timestamp for the consumption data.
  • queryParameters — Additional query parameters for the request.
  • returnFullResponse — Whether to return the full response body instead of just the total consumption value.

Output shape

a JSON object containing total consumption metrics

The response includes fields such as total_consumption; may be null if no data; pagination not applicable.

Examples

Example 1: Fetch total consumption for radio product 123 from 2024-01-01 to 2024-01-31 using OAuth2

authentication: OAuth2, path_radio_product_id: 123, query_from: 2024-01-01, query_to: 2024-01-31, returnFullResponse: false

Links

Discussion