Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akshgpt7 committed Aug 4, 2020
1 parent 5ae5dd0 commit d62a305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This library is a part of <br>
*Deno allows you to directly import modules from URLs!*
To import and use the client in your file, add the following import statement:
```ts
import { YouTube } from 'https://deno.land/x/youtube@v0.1.2/mod.ts';
import { YouTube } from 'https://deno.land/x/youtube@v0.2.0/mod.ts';
```
<br>

Expand Down Expand Up @@ -174,7 +174,7 @@ The `params` parameter for each function must be an object type, following its [
## Examples
```ts
// A simple example to call the search_list() function and log the response json.
import { YouTube } from 'https://deno.land/x/youtube@v0.1.2/mod.ts';
import { YouTube } from 'https://deno.land/x/youtube@v0.2.0/mod.ts';

let obj = new YouTube("your-api-key-here", false);

Expand All @@ -186,7 +186,7 @@ obj.search_list({part: "snippet", q: "coldplay"}).then(function(response){

```ts
// An example to call the activities_list() function using an authorized access token and log the response json.
import { YouTube } from 'https://deno.land/x/youtube@v0.1.2/mod.ts';
import { YouTube } from 'https://deno.land/x/youtube@v0.2.0/mod.ts';

let obj = new YouTube("your-api-key-here", "access-token-here");

Expand Down

0 comments on commit d62a305

Please sign in to comment.