Youtube video title
From UBot Studio
$youtube video title is a function that retrieves the title of a YouTube video using its video ID.
Parameters
Video Id: This is the unique identifier for the YouTube video from which you want to get the title. You can find the video ID in the video's URL on YouTube.
Return Value
This function returns the title of the video.
Example
ui console view connect to youtube("path/to/your/client secret.json") log($youtube video title("dQw4w9WgXcQ"))
The above script connects to YouTube using the "client secret.json" file. Make sure to replace "path/to/your/" with the actual path of your client secret file.
Then, it uses the "$youtube video title" function to fetch the title of the YouTube video with the ID "dQw4w9WgXcQ", logs it to the console.