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

280 B

Getting an artist

getArtist() will fetch you information about a specific artist by it's ID.

ytmusic.getArtist("UCTUR0sVEkD8T5MlSHqgaI_Q").then(artist => {
	console.log(artist)
})

See the reference for more information.