Constructor for YouTube Playlist Class
Json Parsed YouTube Playlist data
If the data is from search or not
Total no of pages count.
Token containing API key, Token, ClientVersion.
YouTube Playlist channel data
Map contaning data of all fetched videos
YouTube Playlist ID
Time when playlist was last updated
YouTube Playlist url with starting video url.
YouTube Playlist thumbnail Data
YouTube Playlist Name
YouTube Class type. == "playlist"
YouTube Playlist url
Total no of videos in that playlist
Videos array containing data of first 100 videos
Total views of that playlist
Gets total number of pages in that playlist class.
This tells total number of videos that have been fetched so far.
This can be equal to videosCount if all videos in playlist have been fetched and they are not hidden.
Updates variable according to a normal data.
Json Parsed YouTube Playlist data
Updates variable according to a searched data.
Json Parsed YouTube Playlist data
Fetches all the videos in the playlist and returns them
const playlist = await play.playlist_info('playlist url')
const videos = await playlist.all_videos()
An array of YouTubeVideo objects
Fetches remaining data from playlist
For fetching and getting all songs data, see total_pages
property.
Max no of videos to fetch
Default = Infinity
Parses next segment of videos from playlist and returns parsed data.
Total no of videos to parse.
Default = Infinity
Array of YouTube Video Class
YouTube Playlists are divided into pages.
For example, if you want to get 101 - 200 songs
const playlist = await play.playlist_info('playlist url')
await playlist.fetch()
const result = playlist.page(2)
Page number
Array of YouTube Video Class
Converts Playlist Class to a json parsed data.
Generated using TypeDoc
YouTube Playlist Class containing vital informations about playlist.