AsyncYouTubeNotifierΒΆ

add_any_listener

Add a listener for any kind of push notification.

add_edit_listener

Add a listener for when a video is edited.

add_upload_listener

Add a listener for when a video is uploaded.

any

Decorate the function to add a listener for any kind of push notification.

callback_url

Get the callback URL.

edit

Decorate the function to add a listener for when a video is edited.

is_ready

Check if the notifier is ready to receive push notifications.

run

Start the FastAPI server to receive push notifications in an existing event

run_in_background

Run the FastAPI server in an existing event loop and return immediately.

stop

Gracefully stop the FastAPI server and the notifier.

subscribe

Subscribe to YouTube channels to receive push notifications.

upload

Decorate the function to add a listener for when a video is uploaded.