Можно ли разработать код на C #, как это делает Arduíno?
Arduíno Общаться с Google Script, а Google Script - с Google Spreadsheet.
Arduíno code:
const char* host = "script.google.com";
const int httpsPort = 443;
const char *GScriptId = "AKfycbwd9YkXXXXXXXXXXXXXXXXXXX";
String urlCal = String("/macros/s/") + GScriptId + "/exec?xxx";
String payload = "{\"command\": \"appendRow\", \
\"sheet_name\": \"Sheet1\", \
\"values\": ";
client = new HTTPSRedirect(httpsPort);
client->setContentTypeHeader("application/json");
client->connect(host, httpsPort);
client->POST(urlCal, host, payload);