youtube-video-search
v1.1.1
Published
this is a api to get videos info from youtube
Downloads
3
Readme
Youtube-video-search
const { search , settings } = require('youtube-video-search')
settings({
key: "YOUR_API_KEY",
maxResult:10 //videos result number
});
async function ready(){
let video = await search('video title or link')
console.log(video)
}
OR
const { search , settings } = require('youtube-video-search')
settings({
key: "YOUR_API_KEY",
maxResult:10 //videos result number
});
search('video title or link', r => {
console.log(r)
})