YouTube Channel Data
This package lets you fetch YouTube data of any channel without having to get authenticated by the Channel owner.
Note
functionalities will be updated on a daily basis. Stay tuned for more
Installation
Install from NPM
npm i yt-channel-data
Requirements
The following requirements apply to YouTube Data API requests:
- Create a new project or use an existing project in Google developer console
- Enable YouTube Data v3 API for the project
- Copy the API Key
Usage
const channelData = ; { var channelInfo = await channelData; console;}; { var channelInfo = await channelData; console;}; { let videoIDs = "jrMsWztL1n8" "Cm2dczXpBG0" "Jk7rliZpuSs"; var videoInfo = await channelData; console;}; { var playlists = await channelData; console;};
Module
//Fetch all available data from a YouTube Channel (Promise) // Fetch all activities of a given CHANNEL_ID [recived from info module] and an optional MAX_RESULTS parameter. Default is 5 (Promise) //Video IDs must be an array // MAX_RESULTS default value is 5, if not specified.