Get my videos
$get my videos is a function that retrieves the video IDs of the first page of uploaded videos from a user's YouTube channel.
This function provides a list of video IDs that corresponds to the videos uploaded by the user's YouTube channel, starting from the most recently uploaded video.
Return Value
This function returns a list of video IDs from the user's YouTube channel.
Example
connect to youtube("path/to/your/client secret.json") set(#my video ids,$get my videos(),"Global")
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 sets a global variable '#my video ids' to the list of video IDs retrieved via the "$get my videos" function.
After running this script, you can use the #my video ids variable in your scripts to operate on each of your videos. For example, you can use it along with the 'change youtube video title' or 'change youtube video description' commands to make bulk updates to your videos.
Note: The list only contains the video IDs of the first page of your uploaded videos, sorted by upload date with the most recent at the top. If you have more than one page of videos, you'll need to use other functions or methods to navigate through all the pages.