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.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for jodotnetmodules-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c822ebade40a447823ab3eea21badf519b5676f1d3fab08d283f41d30181a9af |
|
MD5 | 81f902960683935bcc1f3c65b4b9d0e1 |
|
BLAKE2b-256 | 03913cf244178903cd8aecb7d50f6ce30df0479b194d07c9ada6737f8d428316 |