GET
/
streaming
/
statistics
/
ffprobe
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
ffprobes = client.streaming.statistics.get_ffprobes(
    date_from="date_from",
    date_to="date_to",
    stream_id="stream_id",
)
print(ffprobes.data)
{
  "data": [
    {
      "time": "2006-01-02 15:04:05",
      "avg_bitrate": 3500.5,
      "sum_frames": 500,
      "max_height": 1080,
      "max_fps": 25,
      "max_keyframe_interval": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

date_from
string
required

Start of time frame. Format is ISO 8601.

date_to
string
required

End of time frame. Datetime in ISO 8601 format.

stream_id
string
required

Stream ID

interval
integer
default:10
units
enum<string>
default:second
Available options:
second,
minute,
hour,
day,
week,
month

Response

200
application/json

OK

The response is of type object.