samples/youtube/search.js
async function runSample() {
  const res = await youtube.search.list({
    part: 'id,snippet',
    q: 'Node.js on Google Cloud',
  });
  console.log(res.data);
}
async function runSample() {
  const res = await youtube.search.list({
    part: 'id,snippet',
    q: 'Node.js on Google Cloud',
  });
  console.log(res.data);
}
async function runSample ( ) { const res = await youtube . search . list ( { part : 'id,snippet' , q : 'Node.js on Google Cloud' , } ) ; console . log ( res . data ) ; }
a very simple example of searching for youtube videos
a very simple example of searching for youtube videos