youtube-deno
youtube-deno copied to clipboard
A Deno client library of the YouTube Data API.
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
The YT Live Streaming API has some useful methods, documented here: https://developers.google.com/youtube/v3/live/docs It'll be nice to have all the methods for different resources. It'll be easier if a new file...
Add a contributing guide, with instructions for development setup, and testing your changes.
The requests which require a request body take in a particular format of the body, called resource type. There are various resources defined in the API for the same. The...
Apart from method specific parameters, the API offers certain standard query parameters, which can be used in all methods. Create an interface for those `system parameters`, which are listed [here](https://cloud.google.com/apis/docs/system-parameters)....
Add comments for all methods of the YouTube class in the `src/youtube-api-deno.ts` file, describing what the method does, and what all parameters it takes. The information for all methods can...
Currently, the `response_type` parameter is set by default to `token`. This means we can't refresh the access token obtained. To refresh access tokens, `access_type=offline` has to be additionally passed while...
For some methods, there are some parameters which are of the `filter` type, implying that *exactly one* of them has to be passed for one request. Example of filters: https://developers.google.com/youtube/v3/docs/activities/list#parameters....