from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
page = client.streaming.players.list()
page = page.items[0]
print(page.id)
[
{
"id": 123,
"name": "<string>",
"client_id": 123,
"framework": "<string>",
"design": "<string>",
"custom_css": "<string>",
"js_url": "<string>",
"skin_is_url": "<string>",
"bg_color": "<string>",
"fg_color": "<string>",
"text_color": "<string>",
"hover_color": "<string>",
"autoplay": true,
"mute": true,
"disable_skin": true,
"save_options_to_cookies": true,
"show_sharing": true,
"logo_position": "<string>",
"speed_control": true,
"logo": "<string>"
}
]
Returns a list of created players
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
page = client.streaming.players.list()
page = page.items[0]
print(page.id)
[
{
"id": 123,
"name": "<string>",
"client_id": 123,
"framework": "<string>",
"design": "<string>",
"custom_css": "<string>",
"js_url": "<string>",
"skin_is_url": "<string>",
"bg_color": "<string>",
"fg_color": "<string>",
"text_color": "<string>",
"hover_color": "<string>",
"autoplay": true,
"mute": true,
"disable_skin": true,
"save_options_to_cookies": true,
"show_sharing": true,
"logo_position": "<string>",
"speed_control": true,
"logo": "<string>"
}
]
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 parameter. Use it to list the paginated content
Successful
The response is of type object[]
.
Was this page helpful?