Retrieve public information using Youtube Data Api and Service Account
Create service account from https://console.developers.google.com/apis/credentials, download key.json and put it in app directory. No Oauth2 flow needed.
Change const videoId = 'Q4VGQPk2Dl8';
or make it customizable in other way.
npm install
node app.js