Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.9 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.9 KB

Playback

(playback)

Overview

Operations related to playback api

Available Operations

  • get - Retrieve Playback Info

get

Retrieve Playback Info

Example Usage

from livepeer import Livepeer

s = Livepeer(
    api_key="<YOUR_BEARER_TOKEN_HERE>",
)

res = s.playback.get(id="<id>")

if res.playback_info is not None:
    # handle response
    pass

Parameters

Parameter Type Required Description
id str ✔️ The playback ID from the asset or livestream, e.g. eaw4nk06ts2d0mzb.
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

operations.GetPlaybackInfoResponse

Errors

Error Object Status Code Content Type
errors.Error 404 application/json
errors.SDKError 4xx-5xx /