youtube-deno icon indicating copy to clipboard operation
youtube-deno copied to clipboard

add example of video.insert

Open 1kaiser opened this issue 3 years ago • 1 comments

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

1kaiser avatar Sep 12 '21 15:09 1kaiser

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.

akshgpt7 avatar Sep 14 '21 20:09 akshgpt7