bcongdon / google-sheets-shortcut

Append to a Google sheet directly from iOS shortcuts
26 stars 8 forks source link

google-sheets-shortcut

A small glitch app for appending to a Google Sheet from iOS Shortcuts

Getting Started

Template .env Configuration

CLIENT_ID=
CLIENT_SECRET=
REFRESH_TOKEN=
SHEET_KEY=
SECRET_KEY=
{
    "secret_key": "some secret"     // This must match the secret key in your .env file
    "spreadsheet_key": ""           // The spreadsheet to edit. Optional (defaults to the SHEET_KEY set in .env)
    "data": ["foo", "bar", "baz"]   // A list of values to append to the spreadsheet as a single row
    "spreadsheet_range": ""         // Optional. Where to append the new row (useful if you want to append on the non-default tab of a sheet)
}

Attribution

This was remixed from https://glitch.com/~google-sheets