Skip to main content
GET
/
streaming
/
statistics
/
uniqs
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
unique_viewers = client.streaming.statistics.get_unique_viewers(
    date_from="date_from",
    date_to="date_to",
)
print(unique_viewers.data)
{
  "data": [
    {
      "unique_ips": 100,
      "date": "2022-10-15",
      "type": "vod"
    },
    {
      "unique_ips": 300,
      "date": "2022-10-15",
      "type": "live"
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

date_from
string
required
date_to
string
required
type
enum<string>
Available options:
live,
vod,
playlist
id
string
event
enum<string>
Available options:
init,
start,
watch
host
string
country
string
group
enum<string>[]

Response

data
object[]