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

259 B

Getting a video

getVideo() will fetch you information about a specific video by it's ID.

ytmusic.getVideo("v7bnOxV4jAc").then(video => {
	console.log(video)
})

See the reference for more information.