Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bes-js/youtube-alert
Get Video Notifications on Your YouTube Channel Quickly!
https://github.com/bes-js/youtube-alert
Last synced: about 11 hours ago
JSON representation
Get Video Notifications on Your YouTube Channel Quickly!
- Host: GitHub
- URL: https://github.com/bes-js/youtube-alert
- Owner: Bes-js
- License: gpl-3.0
- Created: 2023-05-23T15:55:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-23T19:52:40.000Z (over 1 year ago)
- Last Synced: 2024-09-24T03:33:10.364Z (about 23 hours ago)
- Language: TypeScript
- Size: 30.3 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![npm version](https://img.shields.io/npm/v/youtube-alert?color=red&label=npm%20i%20youtube-alert)
![npm info](https://img.shields.io/npm/dw/youtube-alert?color=red)# [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&pause=1000&color=FF0000&repeat=false&width=435&lines=%E2%9D%94+How+To+Install%3F)](#)
To Install the `youtube-alert` module, open a console and write the code below.
For **npm**
```console
npm i youtube-alert
```For **Yarn**
```console
yarn add youtube-alert
```# [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&pause=1000&color=00EDFF&repeat=false&width=435&lines=%F0%9F%8E%AF+Describing)](#)
For **CommonJS**
```javascript
const { YouTube }= require("youtube-alert")
const YouTubeClient = new YouTube()
```For **ES6**
```javascript
import { YouTube } from "youtube-alert";
const YouTubeClient = new YouTube()
```# [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&pause=1000&color=blue&repeat=false&width=435&lines=✨+Functions+And+Events)](#)
Click Here To Get Support!
```javascript
# FunctionYouTubeClient.setChannel("YouTube Channel ID")
# Events
YouTubeClient.on("newPost", async(data) => {
console.log(data);
})
```# [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&pause=1000&color=blue&repeat=false&width=435&lines=🪄+Example+Return)](#)
```js
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
```
# [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code&pause=1000&color=9D06E6&repeat=false&width=435&lines=Support+%26+Donate)](#)[![Discord Banner](https://api.weblutions.com/discord/invite/luppux/)](https://discord.gg/luppux)