OKdevTV Docs
Home OKdevTV
ESC
google 1 min read 1.2 KB Raw Markdown
On this page (3)

Sheets API

Quick Start

google spreadsheet Module

text
npm i google-spreadsheet --save
  • Create Google Service Account

    • https://console.cloud.google.com/apis/credentials
    • select APIs & Services > Credentials (API 및 서비스 > 사용자 인증 정보)
    • Click blue + CREATE CREDENITALS and select Service account option
    • Enter name, description, click CREATE
    • You can skip permissions, click CONTINUE
    • Click + CREATE KEY button
    • Select the JSON key type option
    • Click Create button
    • your JSON key file is generated and downloaded to your machine (it is the only copy!)
    • click DONE
    • note your service account’s email address (also available in the JSON key file)
  • Add Service Account email to SpreadSheets permission list

ref