Skip to content

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

License

Notifications You must be signed in to change notification settings

Swiiz/youtube-api-v3-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎥 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-api-v3-wrapper

🛒 Sample code snippet:

const { YoutubeAPIClient } = require("youtube-api-v3-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
  • Add more functions

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •