yarn add node-sheets dotenv
You can generate your own API Key here:
- Register here with your Google account and create a new project "Google Developer Console"
- Then go in the "Credentials" tab create a new API Keys.
Remember to create a ".env" file with this content:
GOOGLE_SHEET_KEY=HERE_YOUR_API_KEY
To run this script run these commands
yarn install
yarn dev
Google Sheet Document with a List of Students