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

252 B

Getting a song

getSong() will fetch you information about a specific song by it's ID.

ytmusic.getSong("v7bnOxV4jAc").then(song => {
	console.log(song)
})

See the reference for more information.