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