Node.js Express Youtube Video Info Application Using Youtube Data API Full Project

You are currently viewing Node.js Express Youtube Video Info Application Using Youtube Data API Full Project

Welcome folks I am back with another blog post. In this blog post we will be talking about a Node.js module which is used to get youtube videos information using just a youtube url.

Video Practical

 

In this video i have shown step by step how to use this module to fetch information about videos from this library.

Youtube Info

 

A Node.js module that fetches meta information about YouTube videos. The information is scraped directly from the YouTube website, so no need for a Google API-key.

This project is in no way affiliated with YouTube.

Installation

Install as a module via npm.

$ npm install youtube-info

 

Usage

http//www.youtube.com/watch?v={videoId}

var fetchVideoInfo = require(youtube-info);
fetchVideoInfo(videoId, cb);
Parameter Meaning
videoId ID of youtube Video
callback (optional) callback function

 

Promises API

Callback API

Result

 

 

Leave a Reply