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
This is the sample of the sample.