youtube-random-video
v1.0.5
Published
The easiest way to get a random video from YouTube.
Downloads
11
Maintainers
Readme
YouTube Data API does not provide a possibility to get a random video. This module aims to solve this problem.
Istall:
npm install -g youtube-random-video
Usage:
var youtube = require('youtube-random-video');
youtube.getRandomVid(key, function(err , data){
//key is your youtube api key
//data is a JSON object
})