youtube-deno
youtube-deno copied to clipboard
add example of video.insert
import { YouTube } from 'https://deno.land/x/[email protected]/mod.ts';
let obj = new YouTube("your-api-key-here", "access-token-here");
obj.insert({part: "snippet", mine: true}).then(function(response){ console.log(response); });
while running in google colab as example
Most of the functions work the same way, so I didn't include examples of each and every function. The examples are there to just give an overview of the syntax and usage.