Useful features that you can use with a Discord Bot
Project description
JoDotNetModules
This Library will give you access to the latest videoes of a YouTube channel and Twitch Live notifications. It is easy to install; you only run the setup and do routine checks.
It is best used with Discord Bots
YouTube Example
import time
from jodotnetmodules import youtuberequests
CHANNEL_ID = "Enter_YouTube_Channel_ID"
API_KEY = "Enter_Your_Secret_API_Key"
LOCATION = r"C:\Users\user\Desktop\ExampleFolder"
# Only run this once, if you run it multiple times it will mess the files up.
youtuberequests.SETUP(id=CHANNEL_ID, key=API_KEY, location=LOCATION)
# This loop will print out the status, if there is any new videos it will print it out.
while True:
request = youtuberequests.CheckVideos(location=LOCATION)
print(request)
time.sleep(1800)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jodotnetmodules-0.0.2.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file jodotnetmodules-0.0.2.tar.gz
.
File metadata
- Download URL: jodotnetmodules-0.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47580a24f286d88ad4dad1c7ac9556439d0fc86afd8c3a159ede3f00a03d456e |
|
MD5 | 491c18a55c48a04ac12f15d6f3bcac3a |
|
BLAKE2b-256 | 883c547c37bf1a00cb2c5e7fe3f1e53bbd0096b73a8fdb78243d082b86d539b0 |
File details
Details for the file jodotnetmodules-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: jodotnetmodules-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f64316a4bd5924daf5c3a21cf909c0c487765d03295c32f48cfe0a0038ca83fd |
|
MD5 | e9e58a9207b25983e5a25510c4d2e682 |
|
BLAKE2b-256 | 26938e63fb6b9d49509f1d4a1596bf76dffb384fa456c419415ba611003fffb4 |