AsyncYouTubeNotifierΒΆ

add_any_listener

Add a listener for any kind of push notification.

add_delete_listener

Add a listener for when a video is deleted.

add_edit_listener

Add a listener for when a video is edited.

add_upload_listener

Add a listener for when a video is uploaded or a live stream is started.

any

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

callback_url

Get the callback URL.

delete

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

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 notifier and ngrok (if used).

subscribe

Subscribe to YouTube channels to receive push notifications.

upload

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