Public
Script
October 23, 2023
1
2
3
4
5
6
7
8
9
10
11
import { example6 } from "https://esm.town/v/stevekrouse/example6?v=2";
import process from "node:process";
import { gsheet_call } from "https://esm.town/v/mattx/gsheet_call";
export const gsheet_append_example = gsheet_call(
// https://docs.google.com/spreadsheets/d/1P97GOFOjcf6-rKLVPI1G71aKHqtW8mlY-WMRSOvcwy4/edit?usp=sharing
process.env.google_service_account,
"1P97GOFOjcf6-rKLVPI1G71aKHqtW8mlY-WMRSOvcwy4",
"values/A1:C1:append?valueInputOption=RAW",
{ values: [[Date(), Math.random(), example6]] },
);
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023