Skip to content

DigitKoodit/pilde-napander-append-joke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Pönkeli - append-joke

SETUP

  • Login to Google console
  • Create or select a project
  • Go to APIs and Services
  • Create new service account
  • Create and download service account key as JSON
  • Rename downloaded file to credentials.json
  • On APIs and Services > Credentials create a new API key
  • Store generated key to to .env file with key API_KEY
  • On Console enable Sheets API for the project
  • Copy destination spreadsheet id from Goolgle sheet url
  • Store id to .env file with key SPREADSHEET_ID
  • Continue to the next section

A Lambda function that appends a row to a Google Sheet from a HTTP POST request.

cd blueprint
npm install
zip -r ../blueprint.zip *

Use the outputted zip as AWS Lambda blueprint and add ENV variables on the console.

About

AWS Lambda for appending a joke to a Google sheet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published