Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-10-25 10:42:12 +00:00
parent 55464e8104
commit 30673f9837
10 changed files with 101 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
const { YoutubeService } = require("m3o/youtube");
// Search for videos on YouTube
async function searchForVideos() {
let youtubeService = new YoutubeService(process.env.MICRO_API_TOKEN);
let rsp = await youtubeService.search({
query: "donuts",
});
console.log(rsp);
}
searchForVideos();