youtube-api-v3-wrapper
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

🎥 Youtube API V3 (Wrapper)

🔭 An easy to use wrapper around the Youtube Data API which is class based and asynchronous.

MIT license

Installation:

npm install youtube-v3-api-wrapper

🛒 Sample code snippet:

const { YoutubeAPIClient } = require("youtube-v3-api-wrapper");

// ⚠ Subject to changes
// Find your YOUTUBE API KEY => https://developers.google.com/youtube/v3/docs
const youtube = new YoutubeAPIClient("key", "YOUTUBE API KEY");

// YoutubeAPI#getVideosByMostPopular(maxResults, params)
youtube.getVideosByMostPopular(10, { regionCode: "US" })
    .then(resp => {
        // Code...
    }).catch(err => {
        // Code...
    })

📣 Documentation

Refer to the offical Youtube API documentation: https://developers.google.com/youtube/v3/docs

Todo:

  • Documentation

Package Sidebar

Install

npm i youtube-api-v3-wrapper

Weekly Downloads

5

Version

2.3.0

License

MIT

Unpacked Size

25.8 kB

Total Files

5

Last publish

Collaborators

  • swiiz