309 B
309 B
Getting a playlist
getPlaylist() will fetch you information about a specific playlist by its ID.
ytmusic.getPlaylist("OLAK5uy_nRb467jR73IXKybwzw22_rTYIJ808x4Yc").then(playlist => {
console.log(playlist)
})
See the reference for more information.