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

320 B

Getting an artist's songs

getArtistSongs() will fetch you information about a specific artist's songs by its ID.

ytmusic.getArtistSongs("UCTUR0sVEkD8T5MlSHqgaI_Q").then(artistSongs => {
	console.log(artistSongs)
})

See the reference for more information.