Get my videos

From UBot Studio
Revision as of 15:55, 4 July 2023 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

$get my videos is a function that retrieves the video IDs of the uploaded videos from a user's YouTube channel.

Return Value

This function returns a list of video IDs from the user's YouTube channel.

Example

ui console view
connect to youtube("path/to/your/client secret.json")
log($get my videos)

The above script connects to YouTube using the client secret file "client secret.json". Be sure to replace "path/to/your/" with the actual path to your client secret file.

Next, it retrieves a list of video IDs via the $get my videos function and logs it to the console.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox