I was planning to use youtube API on my discord bot to make my bot cooler. I wonder if glitch.com supports youtube API? The youtube API can be installed using Node.js (which I plan to do).
So I’m looking at the most basic sample code. However, I’m not familiar with:
- process.env variables (I don’t have the value for process.env.HOME, process.env.HOMEPATH and process.evn.USERPROFILE + ‘/.credentials’)
- I’m not even sure if I need to manually modify the {key-symbol}.env file in my glitch project. However the sample code uses the following:
var TOKEN_DIR = (process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE) + '/.credentials/'; var TOKEN_PATH = TOKEN_DIR + 'youtube-nodejs-quickstart.json';