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