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 hashes)
Built Distribution
Close
Hashes for jodotnetmodules-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f64316a4bd5924daf5c3a21cf909c0c487765d03295c32f48cfe0a0038ca83fd |
|
MD5 | e9e58a9207b25983e5a25510c4d2e682 |
|
BLAKE2b-256 | 26938e63fb6b9d49509f1d4a1596bf76dffb384fa456c419415ba611003fffb4 |