ts-npm-ytmusic-api/docs/guides/usage/getPlaylistVideos.md

359 B

Getting an playlist's videos

getPlaylistVideos() will fetch you information about a specific playlist's videos by it's ID.

ytmusic.getPlaylistVideos("OLAK5uy_nRb467jR73IXKybwzw22_rTYIJ808x4Yc").then(playlistVideos => {
	console.log(playlistVideos)
})

See the reference for more information.