Doprava Olomouc - Historické hodnoty

Historické hodnoty sčítaní dopravy pro jednotlivé senzory - ENCLOD Olomouc

Refreshes every 24 hours Public (no authentication needed) Time Series Aggregations

Time Series Parameters

This endpoint supports full dynamic time series queries. You can use the following optional query parameters:

  • start: Start of the time range (e.g., '-7d', '2023-01-01T00:00:00Z'). Defaults to -1d.
  • stop: End of the time range (e.g., 'now()'). Defaults to now.
  • window: Aggregation window. Allowed values: 15m1h1d
  • agg_func: Aggregation function(s). Can be a single value or comma-separated. Allowed values: diff

Build Your Query

Select which measurements to include in the query. By default, all are selected.

Generated API Query URL
Open Generated Query In

Usage Examples

Here is how you can access the data programmatically.

curl -X GET "https://iot.citiq.cloud/portal/api/v2/view/olomouc-traffic-history/?start=-1d&window=1h&agg_func=diff"
import requests

response = requests.get("https://iot.citiq.cloud/portal/api/v2/view/olomouc-traffic-history/?start=-1d&window=1h&agg_func=diff")
print(response.json())
fetch("https://iot.citiq.cloud/portal/api/v2/view/olomouc-traffic-history/?start=-1d&window=1h&agg_func=diff")
  .then(response => response.json())
  .then(data => console.log(data));

Try It Out

Click the button to see a live JSON response from this API endpoint.

Available Operational Metrics

The `operational_data` array in the API response will contain objects with the following structure, based on the metrics you configured for this view.

Field Key Description Unit
No operational metrics have been configured for this view.

Available Measurements

The table below describes the measurements available in this view. For complete metadata, including units, icons, and value ranges, please refer to the metadata endpoint.

Field Key Description Data Type Value Range
device_device_frmpayload_data_len0_speed0_cnt32 Device: Device frmpayload data len0 speed0 cnt32 FLOAT Not defined
device_device_frmpayload_data_len0_speed1_cnt32 Device: Device frmpayload data len0 speed1 cnt32 FLOAT Not defined
device_device_frmpayload_data_len0_speed2_cnt32 Device: Device frmpayload data len0 speed2 cnt32 FLOAT Not defined
device_device_frmpayload_data_len0_speed3_cnt32 Device: Device frmpayload data len0 speed3 cnt32 FLOAT Not defined
device_device_frmpayload_data_len1_speed0_cnt32 Device: Device frmpayload data len1 speed0 cnt32 FLOAT Not defined
device_device_frmpayload_data_len1_speed1_cnt32 Device: Device frmpayload data len1 speed1 cnt32 FLOAT Not defined
device_device_frmpayload_data_len1_speed2_cnt32 Device: Device frmpayload data len1 speed2 cnt32 FLOAT Not defined
device_device_frmpayload_data_len1_speed3_cnt32 Device: Device frmpayload data len1 speed3 cnt32 FLOAT Not defined
device_device_frmpayload_data_len2_speed0_cnt32 Device: Device frmpayload data len2 speed0 cnt32 FLOAT Not defined
device_device_frmpayload_data_len2_speed1_cnt32 Device: Device frmpayload data len2 speed1 cnt32 FLOAT Not defined
device_device_frmpayload_data_len2_speed2_cnt32 Device: Device frmpayload data len2 speed2 cnt32 FLOAT Not defined
device_device_frmpayload_data_len2_speed3_cnt32 Device: Device frmpayload data len2 speed3 cnt32 FLOAT Not defined
device_device_frmpayload_data_len3_cnt32 Device: Device frmpayload data len3 cnt32 FLOAT Not defined