Easily search for videos on Youtube using their v3 API.
Majority of this was actually written by Max Gfeller and his repo can be found here 👀 I simply refactored it slightly to return a Promise 😄🎉 I have not recreated his TypeScript implementation yet but look for that soon 📆
You can pass a lot of optional parameters as the second parameter, they are documented here.
Google enforces a rate limit on the Youtube Data API. You will probably need to
register your application for a key and supply this key in the
var search = ;var opts =maxResults: 10key: "yourkey";;