node-ytt
v1.0.4
Published
YouTube Trends, get YouTube trending videos without GoogleAPI Key
Downloads
14
Maintainers
Readme
node-ytt
Simple module to get YouTube trending videos. No need of GoogleAPI key.
Usage
const ytt = require('node-ytt');
ytt((response) => {
if(response instanceof Error)
throw response
console.log(response)
})
API
ytt(callback)
Fetches latest YouTube trending videos from US origin.
callback(result)
- function
- fires on request completion
- result can be error or videos response
Related / Works well with
Install
npm install --save node-ytt
License
MIT