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

327 B

Getting an artist's albums

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

ytmusic.getArtistAlbums("UCTUR0sVEkD8T5MlSHqgaI_Q").then(artistAlbums => {
	console.log(artistAlbums)
})

See the reference for more information.