ClipEndpoint
ClipEndpoint
contains methods that facilitate obtaining clips information and their temporary video files.
Methods
async getClip(clipId)
Retrieves information about a specified clip identifier.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
clipId | string | true | The ID you want to retrieve details for |
Returns
Promise<GetClipResponse>
Authentication Required async downloadClip(clipId)
Retrieves a temporary video url from a specified clip identifier.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
clipId | string | true | The ID you want to retrieve its temporary video url for |
Returns
Promise<DownloadClipResponse>