YouTube Subscription, Video & View Count
A module to retrieve youtube subscription count, videos count, total views count etc of a particular youtube channel.
Usage
npm i youtubesubs-count-v1
import { youtubeSubsFn } from 'youtubesubs-count-v1'
youtubeSubsFn('YOUTUBE_CHANNEL_ID','GOOGLE_API').then((data)=>{
// console.log(data')
}).catch((error)=> {
// console.log(error)
})
OR
var youtubeData = require('youtubesubs-count-v1')
youtubeData.youtubeSubsFn('YOUTUBE_CHANNEL_ID','GOOGLE_API').then((data)=>{
// console.log(solve)
}).catch((error)=> {
// console.log(error)
})
Twitter 'YOUTUBE_CHANNEL_API' are generally retrievable, whether through their youtube channel url or through API.
Go through the documentation to create 'GOOGLE_API'.