PATCH
/
streaming
/
players
/
{player_id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
player = client.streaming.players.update(
    player_id=0,
)
print(player.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>"
}

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

Path Parameters

player_id
integer
required

Player ID.
IDs of all created players can be received via Get All Players request

Body

application/json

Response

200 - application/json

Successful

Set of properties for displaying videos. All parameters may be blank to inherit their values from default Streaming player.