Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for YouTube Playlist url

Hierarchy

  • YouTubePlayList

Index

Constructors

constructor

Properties

Private __count

__count: number

Private _continuation

_continuation: { api?: string; clientVersion?: string; token?: string } = {}

Type declaration

  • Optional api?: string
  • Optional clientVersion?: string
  • Optional token?: string

Optional channel

channel?: YouTubeChannel

Private fetched_videos

fetched_videos: <internal>.Map<string, YouTubeVideo[]>

Optional id

id?: string

Optional lastUpdate

lastUpdate?: string

Optional link

link?: string

Optional thumbnail

thumbnail?: { height: undefined | number; id: undefined | string; url: undefined | string; width: undefined | number }

Type declaration

  • height: undefined | number
  • id: undefined | string
  • url: undefined | string
  • width: undefined | number

Optional title

title?: string

type

type: "video" | "playlist" | "channel"

Optional url

url?: string

Optional videoCount

videoCount?: number

Private Optional videos

videos?: []

Optional views

views?: number

Accessors

total_pages

  • get total_pages(): number

total_videos

  • get total_videos(): number

Methods

Private __patch

  • __patch(data: any): void

Private __patchSearch

  • __patchSearch(data: any): void

fetch

next

page

toJSON

  • toJSON(): { channel: { icon: undefined | string; id: undefined | string; name: undefined | string }; id: undefined | string; thumbnail: undefined | { height: undefined | number; id: undefined | string; url: undefined | string; width: undefined | number }; title: undefined | string; url: undefined | string; videos: undefined | [] }
  • Returns { channel: { icon: undefined | string; id: undefined | string; name: undefined | string }; id: undefined | string; thumbnail: undefined | { height: undefined | number; id: undefined | string; url: undefined | string; width: undefined | number }; title: undefined | string; url: undefined | string; videos: undefined | [] }

    • channel: { icon: undefined | string; id: undefined | string; name: undefined | string }
      • icon: undefined | string
      • id: undefined | string
      • name: undefined | string
    • id: undefined | string
    • thumbnail: undefined | { height: undefined | number; id: undefined | string; url: undefined | string; width: undefined | number }
    • title: undefined | string
    • url: undefined | string
    • videos: undefined | []

Generated using TypeDoc