better-youtube-api
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "better-youtube-api", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A very easy to use promise-based Youtube Data v3 API.", | ||
@@ -5,0 +5,0 @@ "main": "out/index.js", |
# Better YouTube API | ||
Want to access data from the YouTube Data v3 API? Want a Node.js YouTube API wrapper with typings and promises? No problem! We've got ya covered. `npm i better-youtube-api` | ||
Want to access data from the YouTube Data v3 API? Want a Node.js YouTube API wrapper with typings, promises, and caching? No problem! We've got ya covered. `npm i better-youtube-api` | ||
@@ -19,2 +19,9 @@ [![GitHub issues](https://img.shields.io/github/issues/jasonhaxstuff/better-youtube-api.svg)](https://github.com/jasonhaxstuff/better-youtube-api/issues) | ||
Instantiate the object without caching: | ||
```js | ||
const { YouTube } = require('better-youtube-api') | ||
const youtube = new YouTube(apiKey, { cache: false }) | ||
``` | ||
Get a video by ID: | ||
@@ -21,0 +28,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
216511
44
41