Skip to content

An example Node.js client for Google Apps Script executable API created with gas-boilerplate

License

Notifications You must be signed in to change notification settings

vaaralav/gas-boilerplate-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gas-boilerplate-client

This is an example Node.js client to demonstrate how to use gas-boilerplate as an API executable and consume the API with Node.js app.

Requirements

  • yarn
  • node.js
  • git
  • Existing Google Apps Script project bootstrapped with gas-boilerplate and deployed as executable API

Installation

git clone https://github.com/vaaralav/gas-boilerplate-client.git
cd gas-boilerplate-client
yarn
cp .env.example .env

Usage

Get authorization tokens

yarn auth

Follow the instructions and add tokens to .env.

Use the executable API

This command calls and executes the function foo in the Google Apps Script defined in .env with.

yarn start

About

An example Node.js client for Google Apps Script executable API created with gas-boilerplate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published