Name

Video

Description

Video object. Can be Minimal, Basic or Full.

Param: title

Title of the video.

Param: id

ID of the video.

Param: url

URL of the video.

Param: formats

List of available formats (basic or full only).

Param: lengthSeconds

Length of the video in seconds (basic or full only).

Param: length

Humanly-readable length of the video (basic or full only).

Param: author

Author username. (full only).

Param: author_id

Author ID. (full only).

Param: description

Description of the video (full only).

Param: date

Date of publishing (full only).

Param: views

Number of views (full only).

Param: likes

Number of likes (full only).

Param: dislikes

Number of dislikes (full only).

Param: thumbnails

Video thumbnails (full only).

Constructors

  • Parameters

    • title: string
    • id: string
    • url: string
    • Optional formats: Format[]
    • Optional lengthSeconds: number
    • Optional length: string
    • Optional author: string
    • Optional author_id: string
    • Optional description: string
    • Optional date: string
    • Optional views: number
    • Optional likes: number
    • Optional dislikes: number
    • Optional thumbnails: Image[]

    Returns Video

Properties

author?: string
author_id?: string
date?: string
description?: string
dislikes?: number
formats?: Format[]
id: string
length?: string
lengthSeconds?: number
likes?: number
thumbnails?: Image[]
title: string
url: string
views?: number

Generated using TypeDoc