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

client = Gcore(
    api_key="My API Key",
)
views_by_referer = client.streaming.statistics.get_views_by_referer(
    date_from="date_from",
    date_to="date_to",
)
print(views_by_referer.data)
{
  "data": [
    {
      "views": 100500,
      "embed_url": "https://example.com/xxx-yyy"
    },
    {
      "views": 3000,
      "embed_url": "https://example.com/xxx-zzz"
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

date_from
string
required
date_to
string
required

Response

data
object[]