youtube-alert
v2.0.0
Published
Get Video Notifications on Your YouTube Channel Quickly!
Downloads
46
Maintainers
Readme
To Install the youtube-alert
module, open a console and write the code below.
For npm
npm i youtube-alert
For Yarn
yarn add youtube-alert
For CommonJS
const { YouTube }= require("youtube-alert")
const YouTubeClient = new YouTube()
For ES6
import { YouTube } from "youtube-alert";
const YouTubeClient = new YouTube()
Click Here To Get Support!
# Function
YouTubeClient.setChannel("YouTube Channel ID")
# Events
YouTubeClient.on("newPost", async(data) => {
console.log(data);
})
id: "yt:video:5WtlCEgsoiE",
videoID: "5WtlCEgsoiE",
title: "Brawlhalla Ranked 2v2 (Backstage)",
link: "https://www.youtube.com/watch?v=5WtlCEgsoiE",
author: "Be$",
published: 2022-04-24T21:33:47+00:00,
updated: 2022-07-24T10:04:09+00:00,
thumbnail: "https://i2.ytimg.com/vi/5WtlCEgsoiE/hqdefault.jpg",
description: "2v2 ft. Luppux",
views: "40",
check_date: 23/05/2023 21:35:03