328 B
328 B
Getting an artist's albums
getArtistAlbums() will fetch you information about a specific artist's albums by it's ID.
ytmusic.getArtistAlbums("UCTUR0sVEkD8T5MlSHqgaI_Q").then(artistAlbums => {
console.log(artistAlbums)
})
See the reference for more information.