Simple module to get YouTube trending videos. No need of GoogleAPI key.
const ytt = require('node-ytt');
ytt((response) => {
if(response instanceof Error)
throw response
console.log(response)
})
Fetches latest YouTube trending videos from US origin.
callback(result)
- function
- fires on request completion
- result can be error or videos response
npm install --save node-ytt
MIT